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