From c253004298f75bd7835bc425f6e081d6dc389834 Mon Sep 17 00:00:00 2001 From: 24kycj <1637269896@qq.com> Date: Wed, 12 Feb 2025 19:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/components/workAdd/workAdd.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/workAdd/workAdd.vue b/src/renderer/components/workAdd/workAdd.vue index f0f68fe..c4d5d61 100644 --- a/src/renderer/components/workAdd/workAdd.vue +++ b/src/renderer/components/workAdd/workAdd.vue @@ -636,8 +636,7 @@ export default { } } }); - } - if (that.form.copy_type == 4) { + } else if (that.form.copy_type == 4) { that.$alert('请将需要读取的光盘放入右盘仓,然后点击确定', '温馨提示', { confirmButtonText: '确定', showCancelButton: true, @@ -647,6 +646,8 @@ export default { } } }); + } else { + submit() } function submit() { if (that.setForm.isArrow) { @@ -952,7 +953,7 @@ export default { }, setSure() { this.setShow = false - that.$store.dispatch('chat/setDatas', {name: 'workStatus', data: true}) + this.$store.dispatch('chat/setDatas', {name: 'workStatus', data: true}) this.$store.dispatch('setDatas', { name: 'setForm', data: this.setForm }) } }