CN-1281: 在Entity主页的基础搜索模式下输入中文/特殊字符后,点击搜索后文本转换有误

This commit is contained in:
刘洪洪
2023-09-14 18:17:52 +08:00
parent e2f7c19684
commit c09cfd82f0
3 changed files with 4 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ export default {
toRaw(this.codeMirror).setValue(this.str)
}
if (q) {
if (q.indexOf('%20') > -1) {
if (q.indexOf('%') > -1) {
q = decodeURI(q)
}
// 为避免地址栏任意输入导致全查询的q带QUERY解析时不识别导致的语法错误