Skip to content

Commit f3a2a7f

Browse files
authored
Merge pull request #36 from EverChan6/fix_close
fix: 判定中不执行关闭
2 parents cae430d + 89e3cde commit f3a2a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default {
207207
methods: {
208208
// 关闭
209209
onClose() {
210-
if (!this.mouseDown) {
210+
if (!this.mouseDown && !this.isSubmting) {
211211
clearTimeout(this.timer1);
212212
this.$emit("close");
213213
}

0 commit comments

Comments
 (0)