CN-1265 fix: 实体搜索修复模糊查询转换模式丢失单引号,以及未搜索时转换模式参数丢失等问题

This commit is contained in:
刘洪洪
2023-09-07 17:10:52 +08:00
parent c4014a9124
commit b25d1d4619
4 changed files with 47 additions and 17 deletions

View File

@@ -693,7 +693,7 @@ export default {
// 如果地址栏有listMode即列表页并非首页则开始搜索
if (listMode) {
this.showList = true
if (q.indexOf('%20') > -1) {
if (q && q.indexOf('%20') > -1) {
q = decodeURI(q)
}
this.initSearch(q)