no message

This commit is contained in:
kuaifan 2025-03-04 16:58:17 +08:00
parent 43b3d1d379
commit a04ef4ac38
2 changed files with 13 additions and 7 deletions

View File

@ -266,10 +266,6 @@ export default {
this.showModal = false
},
onEnter() {
$A.eeuiAppKeyboardHide();
},
preSearch() {
if (!this.searchKey.trim()) {
return;

View File

@ -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)
})
},
}