From 024cc5e9e6fd51e3b0e14e8d3f76c63f1351a4f7 Mon Sep 17 00:00:00 2001 From: wanghong <309858992@qq.com> Date: 星期四, 21 十二月 2023 12:25:35 +0800 Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复 --- Source/UBCS-WEB/src/views/ruleBasic/delimiterConfig.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/views/ruleBasic/delimiterConfig.vue b/Source/UBCS-WEB/src/views/ruleBasic/delimiterConfig.vue index de2e56a..3e79f27 100644 --- a/Source/UBCS-WEB/src/views/ruleBasic/delimiterConfig.vue +++ b/Source/UBCS-WEB/src/views/ruleBasic/delimiterConfig.vue @@ -186,6 +186,8 @@ this.characterEditOldValue = row[column.property]; if (this.editValueList.includes(row[column.property])) { this.$message.warning('璇锋鏌ュ瓧绗﹂泦鏄惁鏈夐噸澶嶏紒') + } else if (row[column.property] === undefined || row[column.property] === null) { + this.$message.warning('璇锋鏌ュ瓧绗﹂泦鏄惁鏈夌┖鍊硷紒'); } else { this.editValueList.push(row[column.property]); } @@ -224,7 +226,7 @@ this.loading = true; // const targetObject = this.characterReleasedList.find(obj => obj.oid === this.selectValue); // const chartValue = targetObject.name; - getList({codeRuleId: this.select, chartType: "fillerChar", chartValue: this.characterValue}).then(res => { + getList({codeRuleId: this.select, chartType: "separator", chartValue: this.characterValue}).then(res => { console.log(res.data.data); this.tableData = res.data.data; this.loading = false; -- Gitblit v1.9.3