fix: 1、修复实体搜索偶现参数解析错误的问题;2、去除detections--policy无效打印
This commit is contained in:
@@ -418,7 +418,6 @@ export default {
|
||||
this.myLoading = false
|
||||
})
|
||||
} else {
|
||||
console.log('进来')
|
||||
this.myLoading = true
|
||||
axios.put(api.detection.create.create, formObj).then(response => {
|
||||
if (response.status === 200) {
|
||||
|
||||
@@ -741,7 +741,10 @@ export default {
|
||||
q = decodeURI(q)
|
||||
}
|
||||
// %位置不为0,即内容包含非英文时
|
||||
const str1 = q.substring(q.indexOf('%'), q.indexOf('%') + 3)
|
||||
let str1 = ''
|
||||
if (q) {
|
||||
str1 = q.substring(q.indexOf('%'), q.indexOf('%') + 3)
|
||||
}
|
||||
if (q && q.indexOf('%') > 0 && (str1 !== '%20' || str1 === '%25')) {
|
||||
q = decodeURI(q)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user