refactor: upgrade frontend dependencies

This commit is contained in:
tiny-craft 2023-08-22 16:08:32 +08:00
parent ec46ae158b
commit dcad790712
4 changed files with 375 additions and 528 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,18 +12,18 @@
"dayjs": "^1.11.9",
"highlight.js": "^11.8.0",
"lodash": "^4.17.21",
"pinia": "^2.1.4",
"sass": "^1.64.0",
"pinia": "^2.1.6",
"sass": "^1.66.1",
"vue": "^3.3.4",
"vue-i18n": "^9.2.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.3.3",
"naive-ui": "^2.34.4",
"prettier": "^3.0.0",
"prettier": "^3.0.2",
"unplugin-auto-import": "^0.16.6",
"unplugin-icons": "^0.16.5",
"unplugin-vue-components": "^0.25.1",
"vite": "^4.4.4"
"vite": "^4.4.9"
}
}

View File

@ -1 +1 @@
a78b05ffa1b32562b864c79d62d5fc2e
d2a1ae5c33eb997098a10aa64e71ab0c

View File

@ -241,6 +241,7 @@ const usePreferencesStore = defineStore('preferences', {
}
}
// TODO: check current version is older then remote
if (respObj != null && !isEmpty(respObj['html_url'])) {
confirmDialog.warning(i18nGlobal.t('new_version_tip'), () => {
BrowserOpenURL(respObj['html_url'])