mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
a2066fc137
commit
0dde37e1f1
@ -72,7 +72,7 @@
|
||||
"vue-resize-observer": "^2.0.16",
|
||||
"vue-router": "^3.6.5",
|
||||
"vue-template-compiler": "~2.6.14",
|
||||
"vue-virtual-scroll-list-hi": "^2.3.5-16",
|
||||
"vue-virtual-scroll-list-hi": "^2.3.5-17",
|
||||
"vuedraggable": "^2.24.3",
|
||||
"vuex": "^3.6.2"
|
||||
},
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
:beforeClose="onBeforeClose"
|
||||
:class-name="`dialog-modal${closIng > 0 ? ' dialog-closing' : ''}`"
|
||||
fullscreen>
|
||||
<DialogWrapper v-if="windowPortrait && dialogId > 0" :dialogId="dialogId" :beforeBack="onBeforeClose" location="modal"/>
|
||||
<DialogWrapper v-if="windowPortrait && dialogId > 0" ref="dialogWrapper" :dialogId="dialogId" :beforeBack="onBeforeClose" location="modal"/>
|
||||
</Modal>
|
||||
</template>
|
||||
|
||||
@ -79,6 +79,9 @@ export default {
|
||||
|
||||
methods: {
|
||||
onBeforeClose() {
|
||||
if (this.$refs.dialogWrapper) {
|
||||
this.$refs.dialogWrapper.operateVisible = false
|
||||
}
|
||||
return new Promise(async _ => {
|
||||
this.closIng++
|
||||
await this.$store.dispatch("openDialog", 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user