快乐的昕的电脑
2025-10-20 b42a3477b6710547a1894f431e06114566dba729
报错优化
已修改1个文件
12 ■■■■ 文件已修改
components/mold.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/mold.vue
@@ -275,7 +275,11 @@
                        headers: { 'Content-Type': 'application/json' }
                    });
                    if (res.data && res.data.outMsg) {
                        this.$showMessage(res.data.outMsg);
                        if (res.data.outMsg.includes('重复上下刀')) {
                            this.$showMessage(res.data.outMsg, { type: 'error' });
                        } else {
                            this.$showMessage(res.data.outMsg);
                        }
                    } else if (res.status === 0) {
                        this.$showMessage('上刀提交成功');
                    } else {
@@ -319,7 +323,11 @@
                        headers: { 'Content-Type': 'application/json' }
                    });
                    if (res.data && res.data.outMsg) {
                        this.$showMessage(res.data.outMsg);
                        if (res.data.outMsg.includes('重复上下刀')) {
                            this.$showMessage(res.data.outMsg, { type: 'error' });
                        } else {
                            this.$showMessage(res.data.outMsg);
                        }
                    } else if (res.status === 0) {
                        this.$showMessage('下刀提交成功');
                    } else {