mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
bug修复
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
<dict-tag :options="dict.type.iot_data_type" :value="scope.row.datatype" />
|
<dict-tag :options="dict.type.iot_data_type" :value="scope.row.datatype" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="数据定义" align="left" prop="specs" min-width="150" class-name="specsColor">
|
<el-table-column label="数据定义" align="left" header-align="center" prop="specs" min-width="150" class-name="specsColor">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-html="formatSpecsDisplay(scope.row.specs)"></div>
|
<div v-html="formatSpecsDisplay(scope.row.specs)"></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -355,6 +355,7 @@ export default {
|
|||||||
this.form.datatype = "integer"
|
this.form.datatype = "integer"
|
||||||
this.form.specs = {
|
this.form.specs = {
|
||||||
enumList: [],
|
enumList: [],
|
||||||
|
arrayType: "int"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
@@ -543,8 +544,6 @@ export default {
|
|||||||
value: "",
|
value: "",
|
||||||
text: ""
|
text: ""
|
||||||
}];
|
}];
|
||||||
} else if (val == "array") {
|
|
||||||
this.form.specs.arrayType = "int";
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 添加枚举项 */
|
/** 添加枚举项 */
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
<dict-tag :options="dict.type.iot_data_type" :value="scope.row.datatype" />
|
<dict-tag :options="dict.type.iot_data_type" :value="scope.row.datatype" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="数据定义" align="left" prop="specs" min-width="150" class-name="specsColor">
|
<el-table-column label="数据定义" align="left" header-align="center" prop="specs" min-width="150" class-name="specsColor">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-html="formatSpecsDisplay(scope.row.specs)"></div>
|
<div v-html="formatSpecsDisplay(scope.row.specs)"></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -350,6 +350,7 @@ export default {
|
|||||||
this.form.datatype = "integer"
|
this.form.datatype = "integer"
|
||||||
this.form.specs = {
|
this.form.specs = {
|
||||||
enumList: [],
|
enumList: [],
|
||||||
|
arrayType: "int"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
@@ -467,8 +468,6 @@ export default {
|
|||||||
value: "",
|
value: "",
|
||||||
text: ""
|
text: ""
|
||||||
}];
|
}];
|
||||||
} else if (val == "array") {
|
|
||||||
this.form.specs.arrayType = "int";
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 添加枚举项 */
|
/** 添加枚举项 */
|
||||||
|
|||||||
Reference in New Issue
Block a user