quick/main.js
2022-10-26 11:14:13 +08:00

19 lines
382 B
JavaScript

import App from './App';
import uView from '@/uni_modules/uview-ui';
import Vue from 'vue';
import store from './store';
function showLoading(show) {
store.commit('showLoading', show);
}
Vue.prototype.$store = store;
Vue.prototype.$showLoading = showLoading;
Vue.use(uView);
Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
...App
});
app.$mount();