diff --git a/dist/app.js b/dist/app.js index 1ac4760..14c7218 100644 --- a/dist/app.js +++ b/dist/app.js @@ -1,5 +1,5 @@ - var scripts = ["https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.8/dist/js/app.9b02a6f8.js","https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.8/dist/js/chunk-vendors.d0ca61b8.js"]; + var scripts = ["https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.9/dist/js/app.c7041ad3.js","https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.9/dist/js/chunk-vendors.d0ca61b8.js"]; var cdnjs = ["https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js","https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js","https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js","https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js","https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js","https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js","https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js","https://at.alicdn.com/t/font_1760192_8add3xcxs4u.js"]; cdnjs.forEach((item) => { document.write(''); diff --git a/dist/index.html b/dist/index.html index a89e9cc..320557f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -go2index-theme-acrou
\ No newline at end of file +go2index-theme-acrou
\ No newline at end of file diff --git a/dist/style.css b/dist/style.css index 8025dcb..a649403 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1,4 +1,4 @@ @import url(https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css); @import url(https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css); @import url(css/chunk-vendors.9b14a1cb.css); -@import url(css/app.dde41999.css); +@import url(css/app.6010ebeb.css); diff --git a/go2index/index.js b/go2index/index.js index 6224aab..d6d4d6d 100644 --- a/go2index/index.js +++ b/go2index/index.js @@ -1,6 +1,6 @@ // =======Options START======= var authConfig = { - siteName: "GoIndex-theme-r", // 网站名称 + siteName: "GoIndex-theme-acrou", // 网站名称 version: "1.1.2", // 程序版本 theme: "acrou", // 强烈推荐使用自己的 client_id 和 client_secret @@ -55,7 +55,7 @@ var authConfig = { */ search_result_list_page_size: 50, // 确认有 cors 用途的可以开启 - enable_cors_file_down: true, + enable_cors_file_down: false, /** * 上面的 basic auth 已经包含了盘内全局保护的功能。所以默认不再去认证 .password 文件内的密码; * 如果在全局认证的基础上,仍需要给某些目录单独进行 .password 文件内的密码验证的话,将此选项设置为 true; @@ -65,7 +65,9 @@ var authConfig = { }; var themeOptions = { - cdn: "https://git.randallanjie.com/Randall/goindex-theme-r/raw/branch/master", + cdn: "https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r", + // 主题版本号 + version: "v2.0.9", //可选默认系统语言:en/zh-chs/zh-cht languages: "zh-chs", render: { @@ -142,6 +144,9 @@ const CONSTS = new (class { var gds = []; function html(current_drive_order = 0, model = {}) { + if (themeOptions.version && themeOptions.version !== '') { + themeOptions.version = '@' + themeOptions.version; + } return ` @@ -150,7 +155,7 @@ function html(current_drive_order = 0, model = {}) { ${authConfig.siteName} + `; diff --git a/package.json b/package.json index 9b22e14..4a68588 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "go2index-theme-acrou", - "version": "2.0.8", + "version": "2.0.9", "g2index": "1.1.2", "scripts": { "serve": "vue-cli-service serve",