fix:修复当tag存在特殊字符时查询报错的问题

This commit is contained in:
wangwenrui
2020-09-21 14:05:06 +08:00
parent 385c17c792
commit 9faf907b3e

View File

@@ -430,6 +430,9 @@
getTableData() {
this.searchLabel = Object.assign(this.searchLabel, this.pageObj);
this.tools.loading = true;
if(this.searchLabel.tags && this.searchLabel.tags!=''){
this.searchLabel.tags=encodeURIComponent(this.searchLabel.tags)
}
this.$get('asset', this.searchLabel).then(response => {
this.tools.loading = false;
if (response.code === 200) {