Commit 3f48dde8 authored by 周毅's avatar 周毅

修复bug

parent 1036d4d8
...@@ -228,13 +228,15 @@ ...@@ -228,13 +228,15 @@
}, },
methods: { methods: {
changeQueryParams(queryParams){ changeQueryParams(queryParams){
let str=queryParams.rqInfos if (queryParams.rqInfos){
let str=queryParams.rqInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格 let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
trimmedStr=trimmedStr.replace(/,/s, ',') trimmedStr=trimmedStr.replace(/,/s, ',')
let arr = trimmedStr.split(","); let arr = trimmedStr.split(",");
queryParams.rqInfos=arr queryParams.rqInfos=arr
console.log(queryParams.rqInfos) }
},
},
ckxq(){ ckxq(){
if (this.singleItem && this.singleItem.id){ if (this.singleItem && this.singleItem.id){
this.DialogWidth='70vw' this.DialogWidth='70vw'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment