CN-1265 fix: 实体搜索修复模糊查询转换模式丢失单引号,以及未搜索时转换模式参数丢失等问题
This commit is contained in:
@@ -219,6 +219,9 @@ export default {
|
||||
// 如果地址栏包含参数q,则将参数q回显到搜索栏内
|
||||
let { q } = this.$route.query
|
||||
this.initCodeMirror()
|
||||
if (this.str) {
|
||||
toRaw(this.codeMirror).setValue(this.str)
|
||||
}
|
||||
if (q) {
|
||||
if (q.indexOf('%20') > -1) {
|
||||
q = decodeURI(q)
|
||||
|
||||
Reference in New Issue
Block a user