优化bug

This commit is contained in:
24kycj
2025-02-12 19:18:06 +08:00
parent 3dc39b86e6
commit c253004298
+4 -3
View File
@@ -636,8 +636,7 @@ export default {
} }
} }
}); });
} } else if (that.form.copy_type == 4) {
if (that.form.copy_type == 4) {
that.$alert('请将需要读取的光盘放入右盘仓,然后点击确定', '温馨提示', { that.$alert('请将需要读取的光盘放入右盘仓,然后点击确定', '温馨提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
showCancelButton: true, showCancelButton: true,
@@ -647,6 +646,8 @@ export default {
} }
} }
}); });
} else {
submit()
} }
function submit() { function submit() {
if (that.setForm.isArrow) { if (that.setForm.isArrow) {
@@ -952,7 +953,7 @@ export default {
}, },
setSure() { setSure() {
this.setShow = false 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 }) this.$store.dispatch('setDatas', { name: 'setForm', data: this.setForm })
} }
} }