qingyiay
2024-02-01 a6ed23b018343a68f9fd276647cc4af817398d1b
src/main.js
@@ -21,7 +21,9 @@
import './assets/iconfont/iconfont.css'
import '@babel/polyfill'
Vue.config.productionTip = false
Vue.use(VueLazyload, {
    error: require('./assets/img-error.png'),
    loading: require('./assets/loading2.gif')
@@ -58,8 +60,7 @@
    store,
    i18n,
    render: h => h(App),
    data: {
    },
    data: {},
    mounted() {
        // 加载主题
        this.$store.commit('setTheme', localStorage.theme);