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
+1
View File
@@ -65,6 +65,7 @@ const handleCreate = async () => {
path: '',
remark: ''
}
window.$bus.emit('website:refresh')
})
}
}
+1
View File
@@ -338,6 +338,7 @@ const formatDbValue = (value: string) => {
onMounted(() => {
refresh()
getDefaultPage()
window.$bus.on('website:refresh', refresh)
})
</script>