feat:查询asset/tagValue接口时,对key进行转码
This commit is contained in:
@@ -638,7 +638,7 @@
|
|||||||
let value = this.tagValuesCache.get(tagVal)
|
let value = this.tagValuesCache.get(tagVal)
|
||||||
if(!value){
|
if(!value){
|
||||||
value = [];
|
value = [];
|
||||||
this.$get('/asset/tagValue?key='+tagVal).then(res => {
|
this.$get('/asset/tagValue',{key:encodeURIComponent(tagVal)}).then(res => {
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
value = res.data.list.map(item=>{
|
value = res.data.list.map(item=>{
|
||||||
return {value:item}
|
return {value:item}
|
||||||
|
|||||||
Reference in New Issue
Block a user