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 this.showModal = false
}, },
onEnter() {
$A.eeuiAppKeyboardHide();
},
preSearch() { preSearch() {
if (!this.searchKey.trim()) { if (!this.searchKey.trim()) {
return; return;

View File

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