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 @@