mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
no message
This commit is contained in:
parent
43b3d1d379
commit
a04ef4ac38
@ -266,10 +266,6 @@ export default {
|
|||||||
this.showModal = false
|
this.showModal = false
|
||||||
},
|
},
|
||||||
|
|
||||||
onEnter() {
|
|
||||||
$A.eeuiAppKeyboardHide();
|
|
||||||
},
|
|
||||||
|
|
||||||
preSearch() {
|
preSearch() {
|
||||||
if (!this.searchKey.trim()) {
|
if (!this.searchKey.trim()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
:footer-hide="true"
|
:footer-hide="true"
|
||||||
:transition-names="['mobile-dialog', '']"
|
:transition-names="['mobile-dialog', '']"
|
||||||
:beforeClose="onBeforeClose"
|
:beforeClose="onBeforeClose"
|
||||||
class-name="dialog-modal"
|
:class-name="`dialog-modal${closIng > 0 ? ' dialog-closing' : ''}`"
|
||||||
fullscreen>
|
fullscreen>
|
||||||
<DialogWrapper v-if="windowPortrait && dialogId > 0" :dialogId="dialogId" :beforeBack="onBeforeClose" location="modal"/>
|
<DialogWrapper v-if="windowPortrait && dialogId > 0" :dialogId="dialogId" :beforeBack="onBeforeClose" location="modal"/>
|
||||||
</Modal>
|
</Modal>
|
||||||
@ -39,6 +39,11 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&.dialog-closing {
|
||||||
|
.ql-editor {
|
||||||
|
caret-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -54,6 +59,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
timer: null,
|
timer: null,
|
||||||
|
closIng: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -73,8 +79,12 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
onBeforeClose() {
|
onBeforeClose() {
|
||||||
return new Promise(_ => {
|
return new Promise(async _ => {
|
||||||
this.$store.dispatch("openDialog", 0)
|
this.closIng++
|
||||||
|
await this.$store.dispatch("openDialog", 0)
|
||||||
|
setTimeout(() => {
|
||||||
|
this.closIng--
|
||||||
|
}, 300)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user