diff --git a/main.js b/main.js index eeb22bb..c6877c5 100644 --- a/main.js +++ b/main.js @@ -3,13 +3,13 @@ import App from './App' import store from './store' // store import { install } from './plugins' // plugins import './permission.js' // permission - +import iconConfig from './utils/icon/icon.js' // main.js import uviewPlus from 'uview-plus' export function createApp() { const app = createSSRApp(App) - + app.config.globalProperties.iconConfig = iconConfig app.use(uviewPlus) app.use(store) // app.use(uView) diff --git a/pages/activity/index.vue b/pages/activity/index.vue index 36ebe70..583708c 100644 --- a/pages/activity/index.vue +++ b/pages/activity/index.vue @@ -1,5 +1,6 @@