mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
no message
This commit is contained in:
parent
43b2b4dc3d
commit
9dd22dba19
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "DooTask",
|
"name": "DooTask",
|
||||||
"version": "0.17.70",
|
"version": "0.17.75",
|
||||||
"description": "DooTask is task management system.",
|
"description": "DooTask is task management system.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "./cmd dev",
|
"start": "./cmd dev",
|
||||||
@ -54,7 +54,7 @@
|
|||||||
"vue-resize-observer": "^2.0.16",
|
"vue-resize-observer": "^2.0.16",
|
||||||
"vue-router": "^3.5.3",
|
"vue-router": "^3.5.3",
|
||||||
"vue-template-compiler": "^2.6.14",
|
"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",
|
"vuedraggable": "^2.24.3",
|
||||||
"vuex": "^3.6.2",
|
"vuex": "^3.6.2",
|
||||||
"webpack": "^5.69.1",
|
"webpack": "^5.69.1",
|
||||||
|
|||||||
2
public/js/build/0.js
vendored
2
public/js/build/0.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
* open source under the MIT license
|
||||||
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
||||||
*/
|
*/
|
||||||
|
|||||||
2
public/js/build/591.js
vendored
2
public/js/build/591.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
* open source under the MIT license
|
||||||
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
||||||
*/
|
*/
|
||||||
|
|||||||
2
public/js/build/597.js
vendored
2
public/js/build/597.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
* open source under the MIT license
|
||||||
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
||||||
*/
|
*/
|
||||||
|
|||||||
2
public/js/build/710.js
vendored
2
public/js/build/710.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
* open source under the MIT license
|
||||||
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
* https://github.com/tangbc/vue-virtual-scroll-list#readme
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
b7b6bde638b0e98e
|
8977f3c856962b02
|
||||||
|
|||||||
@ -587,6 +587,7 @@ export default {
|
|||||||
id: tempId,
|
id: tempId,
|
||||||
dialog_id: this.dialogData.id,
|
dialog_id: this.dialogData.id,
|
||||||
reply_id: this.replyId,
|
reply_id: this.replyId,
|
||||||
|
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
|
||||||
type: 'text',
|
type: 'text',
|
||||||
userid: this.userId,
|
userid: this.userId,
|
||||||
msg: {
|
msg: {
|
||||||
@ -604,6 +605,7 @@ export default {
|
|||||||
data: {
|
data: {
|
||||||
dialog_id: this.dialogId,
|
dialog_id: this.dialogId,
|
||||||
reply_id: this.replyId,
|
reply_id: this.replyId,
|
||||||
|
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
|
||||||
text: msgText,
|
text: msgText,
|
||||||
},
|
},
|
||||||
method: 'post'
|
method: 'post'
|
||||||
@ -629,6 +631,7 @@ export default {
|
|||||||
id: tempId,
|
id: tempId,
|
||||||
dialog_id: this.dialogData.id,
|
dialog_id: this.dialogData.id,
|
||||||
reply_id: this.replyId,
|
reply_id: this.replyId,
|
||||||
|
reply_data: this.replyId ? this.dialogMsgs.find(({id}) => id === this.replyId) : null,
|
||||||
type: 'loading',
|
type: 'loading',
|
||||||
userid: this.userId,
|
userid: this.userId,
|
||||||
msg,
|
msg,
|
||||||
@ -882,6 +885,7 @@ export default {
|
|||||||
onToIndex(index) {
|
onToIndex(index) {
|
||||||
const scroller = this.$refs.scroller;
|
const scroller = this.$refs.scroller;
|
||||||
if (scroller) {
|
if (scroller) {
|
||||||
|
scroller.stopToBottom();
|
||||||
scroller.scrollToIndex(index, -100);
|
scroller.scrollToIndex(index, -100);
|
||||||
requestAnimationFrame(_ => scroller.scrollToIndex(index, -100)) // 确保滚动到
|
requestAnimationFrame(_ => scroller.scrollToIndex(index, -100)) // 确保滚动到
|
||||||
}
|
}
|
||||||
@ -891,6 +895,7 @@ export default {
|
|||||||
onToOffset(offset) {
|
onToOffset(offset) {
|
||||||
const scroller = this.$refs.scroller;
|
const scroller = this.$refs.scroller;
|
||||||
if (scroller) {
|
if (scroller) {
|
||||||
|
scroller.stopToBottom();
|
||||||
scroller.scrollToOffset(offset);
|
scroller.scrollToOffset(offset);
|
||||||
setTimeout(_ => scroller.scrollToOffset(offset), 10) // 预防出现白屏的情况
|
setTimeout(_ => scroller.scrollToOffset(offset), 10) // 预防出现白屏的情况
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 8d4ff1850bab8f4db63d921ac7115c32fc87c3ac
|
Subproject commit 4184b5d945a21bb7afe137cdc2a7a0d6ded88cd2
|
||||||
Loading…
x
Reference in New Issue
Block a user