This commit is contained in:
2024-03-31 14:44:46 +08:00
parent 8cdcb7a073
commit f00da2d1f0
2 changed files with 1 additions and 7 deletions

View File

@@ -177,13 +177,6 @@ provide("toggleDrawerMenu", () => {
//~~~~ 搜索绑定与搜索按钮点击
const searchKey = ref("")
const handleSearchTreeDataClick = () => {
if (!treeDataStore.originTreeData) {
return
}
if (searchKey.value.match(/^[ ]*$/)) {
treeData.value = treeDataStore.originTreeData
return
}
const loop = (itemdata) => {
const result = []
itemdata.forEach((item) => {