chore: refactor ToolStoreDialog.vue to streamline onBeforeMount usage

This commit is contained in:
CaptainB 2025-10-10 15:00:21 +08:00
parent fb8d69eb48
commit 4f6ee88a1c

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') {