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