🚩 网站设置功能完成

This commit is contained in:
7836246
2024-03-03 18:29:15 +08:00
parent 263ad0a4df
commit c29c6790a1
12 changed files with 313 additions and 8 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ const domainData = domain.replace(/_/g, '.')
const timeStore = useTimeStore()
const styleStore = useStyleStore()
const localePath = useLocalePath()
const settingsStore = useSettingsStore()
styleStore.setIsPage(true)
const {data, pending, error, refresh} = await useAsyncData(
@@ -28,7 +28,7 @@ const {data, pending, error, refresh} = await useAsyncData(
})
)
if (!error.value) {
if (!error.value && settingsStore.getHistory) {
styleStore.addOrUpdateHistory(
{
id: domainData,