diff --git a/public/static-home.html b/public/static-home.html index 4eaf4a10..aa67bc36 100644 --- a/public/static-home.html +++ b/public/static-home.html @@ -492,7 +492,7 @@ -
蜀ICP备2025157466号
+
蜀ICP备2025157466号
diff --git a/public/wechat.png b/public/wechat.png index 082f1c0c..8707b7a5 100644 Binary files a/public/wechat.png and b/public/wechat.png differ diff --git a/scripts/do.js b/scripts/do.js index c7789da4..2a60b8fe 100644 --- a/scripts/do.js +++ b/scripts/do.js @@ -10,6 +10,7 @@ async function generateSitemap() { // 静态路由(首页、练习页等) const staticPages = [ + {url: '/index.html', changefreq: 'monthly', priority: 1.0}, {url: '/', changefreq: 'daily', priority: 1.0}, {url: '/words', changefreq: 'daily', priority: 0.9}, {url: '/articles', changefreq: 'daily', priority: 0.9}, diff --git a/src/App.vue b/src/App.vue index 877aca5c..758f7c8d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -66,7 +66,9 @@ async function init() { setTheme(settingStore.theme) - if (!settingStore.first) { + if (settingStore.first) { + set(APP_VERSION.key,APP_VERSION.version) + }else { get(APP_VERSION.key).then(r => { runtimeStore.isNew = r ? (APP_VERSION.version > Number(r)) : true }) diff --git a/src/config/env.ts b/src/config/env.ts index efacd189..445d1df4 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -60,7 +60,7 @@ export const SAVE_DICT_KEY = { } export const SAVE_SETTING_KEY = { key: 'typing-word-setting', - version: 16 + version: 17 } export const EXPORT_DATA_KEY = { key: 'typing-word-export', diff --git a/src/pages/article/components/TypingArticle.vue b/src/pages/article/components/TypingArticle.vue index 456587a6..3d239c46 100644 --- a/src/pages/article/components/TypingArticle.vue +++ b/src/pages/article/components/TypingArticle.vue @@ -1,25 +1,24 @@