feat:查询asset/tagValue接口时,对key进行转码

This commit is contained in:
wangwenrui
2020-09-22 18:11:18 +08:00
parent ea35d40aee
commit 5f6235f39a

View File

@@ -638,7 +638,7 @@
let value = this.tagValuesCache.get(tagVal)
if(!value){
value = [];
this.$get('/asset/tagValue?key='+tagVal).then(res => {
this.$get('/asset/tagValue',{key:encodeURIComponent(tagVal)}).then(res => {
if(res.code == 200){
value = res.data.list.map(item=>{
return {value:item}