fix: 修复实体列表搜索框在清除内容后,切换模式内容还存在的问题
This commit is contained in:
@@ -53,6 +53,9 @@ export default {
|
||||
methods: {
|
||||
cleanParams () {
|
||||
toRaw(this.codeMirror).setValue('')
|
||||
const routeQuery = this.$route.query
|
||||
delete routeQuery.q
|
||||
this.reloadUrl(routeQuery, 'cleanOldParams')
|
||||
},
|
||||
initCodeMirror () {
|
||||
this.codeMirror = CodeMirror.fromTextArea(this.$refs.textSearch, {
|
||||
|
||||
Reference in New Issue
Block a user