CN-1071: entity explorer在列表页点击后退时,没有返回首页

This commit is contained in:
刘洪洪
2023-06-16 16:33:58 +08:00
parent cfa742a95c
commit f8456e57a3
6 changed files with 340 additions and 185 deletions

View File

@@ -115,11 +115,11 @@ export default {
},
setup (props) {
// 默认为文本模式
let searchMode = ref('text')
const searchMode = ref('text')
if (props.defaultMode) {
switch (props.defaultMode) {
case 'tag': {
searchMode = 'tag'
searchMode.value = 'tag'
break
}
}