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

fix: 网站类型切换

This commit is contained in:
2026-01-09 22:00:15 +08:00
parent 5ceec97412
commit 7a575267bb
2 changed files with 4 additions and 1 deletions

View File

@@ -31,7 +31,6 @@ const bulkCreateModal = ref(false)
v-model:bulk-create-modal="bulkCreateModal"
/>
<setting-view v-if="currentTab === 'setting'" />
<create-modal v-model:show="createModal" v-model:type="currentTab" />
<bulk-create-modal v-model:show="bulkCreateModal" v-model:type="currentTab" />
</common-page>

View File

@@ -269,6 +269,10 @@ const bulkDelete = async () => {
window.$message.success($gettext('Deleted successfully'))
}
watch(type, () => {
refresh()
})
onMounted(() => {
refresh()
window.$bus.on('website:refresh', refresh)