chore: refactor ToolStoreDialog.vue to streamline onBeforeMount usage

This commit is contained in:
CaptainB 2025-10-10 15:00:21 +08:00 committed by 刘瑞斌
parent 7318fda061
commit a2600ea98c

View File

@ -179,11 +179,9 @@ function open(id: string) {
folderId.value = id
filterList.value = null
dialogVisible.value = true
}
onBeforeMount(() => {
getList()
})
}
async function getList() {
if (toolType.value === 'INTERNAL') {