add service worker

This commit is contained in:
MaysWind
2021-02-28 20:37:53 +08:00
parent 7f47ffe6c2
commit f34471839c
7 changed files with 419 additions and 24 deletions
+1
View File
@@ -125,6 +125,7 @@ function clearSettings() {
}
export default {
isProduction: () => process.env.NODE_ENV === 'production',
getLanguage: () => getOriginalOption('lang'),
setLanguage: value => setOption('lang', value),
isEnableDebug: () => getOption('debug'),