feat: 单值图 显示颜色

This commit is contained in:
zhangyu
2021-12-23 19:00:13 +08:00
parent 8128de517f
commit 59d35b2ea5
4 changed files with 24 additions and 8 deletions

View File

@@ -38,11 +38,6 @@ export default {
const obj = lodash.cloneDeep(val.defaultJson)
obj[val.jsonKey] = qv
console.log(obj[val.jsonKey])
if (val.strKey) {
this.$refs[dataList].$refs.searchInput[val.listStr].map((e) => {
obj[val.strKey] = e.name
})
}
this.$refs[dataList].$refs.searchInput.select_list.push(obj)
this.$refs[dataList].$refs.searchInput.sreach_num++
// this.$refs[dataList].$refs.searchInput.searchLabelList = this.$refs[dataList].$refs.searchInput.searchLabelList.filter(item => item.label !== 'projectIds')