From ec51dfbb3ac98de6ac98bcac4c76942a3a09eef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E5=85=B8=E5=8D=93?= Date: Mon, 23 Jun 2025 15:48:10 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=E5=85=A8=E8=81=8C=E5=92=8C=E9=9B=B6?= =?UTF-8?q?=E5=B7=A5=E7=9A=84=E7=9A=84=E5=B2=97=E4=BD=8D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E9=80=89=E6=8B=A9=E4=BC=81=E4=B8=9A=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/main.js | 3 +- src/page/index/logo.vue | 3 +- src/router/axios.js | 4 + src/router/router.js | 2 +- src/util/util.js | 240 +++++++++--------- .../tenant/mission/Dialog/CopyMission.vue | 8 +- src/views/tenant/works/Dialog/CopyMission.vue | 14 +- vue.config.js | 2 +- 9 files changed, 151 insertions(+), 127 deletions(-) diff --git a/public/index.html b/public/index.html index dc191a0..b67117b 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ - + diff --git a/src/main.js b/src/main.js index 1839708..3d524ff 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,7 @@ import i18n from './lang' // Internationalization import axios from './router/axios'; import router from './router/router'; import store from './store'; -import {loadStyle} from './util/util'; +import {loadStyle, staticPath} from './util/util'; import event from './event'; Vue.use(router); @@ -60,6 +60,7 @@ function sleep(time) { return new Promise((resolve) => setTimeout(resolve, time)) } +Vue.prototype.staticPath = staticPath Vue.prototype.$api = {sleep} Vue.config.productionTip = false; diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue index 5f3bf21..09a339d 100644 --- a/src/page/index/logo.vue +++ b/src/page/index/logo.vue @@ -6,7 +6,7 @@ @@ -16,6 +16,7 @@