2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 批量创建网站后触发表格刷新

This commit is contained in:
2025-05-14 19:51:20 +08:00
parent 90715bcfaf
commit 9f24e1e8a6
2 changed files with 2 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ const handleCreate = async () => {
path: '',
remark: ''
}
window.$bus.emit('website:refresh')
})
}
}

View File

@@ -338,6 +338,7 @@ const formatDbValue = (value: string) => {
onMounted(() => {
refresh()
getDefaultPage()
window.$bus.on('website:refresh', refresh)
})
</script>