no message

This commit is contained in:
kuaifan 2022-06-20 15:18:16 +08:00
parent 43b2b4dc3d
commit 9dd22dba19
12 changed files with 17 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.17.70",
"version": "0.17.75",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",
@ -54,7 +54,7 @@
"vue-resize-observer": "^2.0.16",
"vue-router": "^3.5.3",
"vue-template-compiler": "^2.6.14",
"vue-virtual-scroll-list-hi": "^2.3.3-3",
"vue-virtual-scroll-list-hi": "^2.3.3-4",
"vuedraggable": "^2.24.3",
"vuex": "^3.6.2",
"webpack": "^5.69.1",

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*/
/*!
* vue-virtual-scroll-list v2.3.3-2
* vue-virtual-scroll-list v2.3.3-3
* open source under the MIT license
* https://github.com/tangbc/vue-virtual-scroll-list#readme
*/

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*/
/*!
* vue-virtual-scroll-list v2.3.3-2
* vue-virtual-scroll-list v2.3.3-3
* open source under the MIT license
* https://github.com/tangbc/vue-virtual-scroll-list#readme
*/

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*/
/*!
* vue-virtual-scroll-list v2.3.3-2
* vue-virtual-scroll-list v2.3.3-3
* open source under the MIT license
* https://github.com/tangbc/vue-virtual-scroll-list#readme
*/

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*/
/*!
* vue-virtual-scroll-list v2.3.3-2
* vue-virtual-scroll-list v2.3.3-3
* open source under the MIT license
* https://github.com/tangbc/vue-virtual-scroll-list#readme
*/

View File

@ -1 +1 @@
b7b6bde638b0e98e
8977f3c856962b02

View File

@ -587,6 +587,7 @@ export default {
id: tempId,
dialog_id: this.dialogData.id,
reply_id: this.replyId,
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
type: 'text',
userid: this.userId,
msg: {
@ -604,6 +605,7 @@ export default {
data: {
dialog_id: this.dialogId,
reply_id: this.replyId,
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
text: msgText,
},
method: 'post'
@ -629,6 +631,7 @@ export default {
id: tempId,
dialog_id: this.dialogData.id,
reply_id: this.replyId,
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
type: 'loading',
userid: this.userId,
msg,
@ -882,6 +885,7 @@ export default {
onToIndex(index) {
const scroller = this.$refs.scroller;
if (scroller) {
scroller.stopToBottom();
scroller.scrollToIndex(index, -100);
requestAnimationFrame(_ => scroller.scrollToIndex(index, -100)) //
}
@ -891,6 +895,7 @@ export default {
onToOffset(offset) {
const scroller = this.$refs.scroller;
if (scroller) {
scroller.stopToBottom();
scroller.scrollToOffset(offset);
setTimeout(_ => scroller.scrollToOffset(offset), 10) //
}

@ -1 +1 @@
Subproject commit 8d4ff1850bab8f4db63d921ac7115c32fc87c3ac
Subproject commit 4184b5d945a21bb7afe137cdc2a7a0d6ded88cd2