chore: refactor ToolStoreDialog.vue to streamline onBeforeMount usage
parent
7318fda061
commit
a2600ea98c
|
|
@ -179,11 +179,9 @@ function open(id: string) {
|
||||||
folderId.value = id
|
folderId.value = id
|
||||||
filterList.value = null
|
filterList.value = null
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
|
||||||
|
|
||||||
onBeforeMount(() => {
|
|
||||||
getList()
|
getList()
|
||||||
})
|
}
|
||||||
|
|
||||||
async function getList() {
|
async function getList() {
|
||||||
if (toolType.value === 'INTERNAL') {
|
if (toolType.value === 'INTERNAL') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue