Browse Source

修复字段数据类型

yukai 3 years ago
parent
commit
220f4b5183
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/datahub/modeling/component/edit.vue

+ 2 - 1
src/views/datahub/modeling/component/edit.vue

@@ -68,6 +68,7 @@ interface RuleFormState {
 	name: string;
 	interval: string;
 	key: string;
+	busiTypes: string;
 	desc: string;
 }
 interface DicState {
@@ -133,7 +134,7 @@ export default defineComponent({
 
 			if (row) {
 				state.ruleForm = row;
-				state.ruleForm.busiTypes=row.dataTemplateBusi.busiTypes;
+				state.ruleForm.busiTypes=row.dataTemplateBusi.busiTypes.toString();
 				state.ruleForm.busiId=row.dataTemplateBusi.busiId;
 			}