From 1d3002a599ca8674bf9bab4fdd6f0efa70185d56 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 11 Jan 2024 09:33:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B8=85=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/index.html b/public/index.html index 2be141ec..994f502e 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,8 @@ + + From 0253eabc04b759d758f1a1f218a423afff580fe7 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 11 Jan 2024 10:24:30 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index c0d9a7f8..3f04f2a4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -13,7 +13,10 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口 // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions // 这里只列一部分,具体配置参考文档 + const timeStamp = new Date().getTime() module.exports = { + filenameHashing:false, + // 部署生产环境和开发环境下的URL。 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 @@ -29,11 +32,17 @@ module.exports = { productionSourceMap: false, css: { extract: { - ignoreOrder: true + ignoreOrder: true, + filename:`css/[name].css?v=${timeStamp}`, + chunkFilename:`css/chunk.[id].css?v=${timeStamp}` } }, configureWebpack: { name: name, + output:{ + filename:`js/[name].js?v=${timeStamp}`, + chunkFilename:`js/chunk.[id].js?v=${timeStamp}` + }, resolve: { alias: { '@': resolve('src') From 12c4855be94eefa7a9535ab51feebbd120f44543 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 11 Jan 2024 13:52:23 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 1d4747c8..5b8a3ac2 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -246,7 +246,7 @@
{{cutOrgNamePath(item.authorInfo.orgInfo)}}
- +