123456789101112131415161718192021222324252627282930313233343536 |
- import Vue from 'vue'
- import App from './App'
- import store from './store'
- import plugins from './plugins'
- import './permission'
- Vue.use(plugins)
- import {toast} from "@/utils/common.js"
- import loading from "./components/loading/loading.vue"
- Vue.component('loading',loading);
- function loadings(tf){
-
- store.commit("switch_loading",tf);
- }
- Vue.prototype.$loading = loadings;
- Vue.config.productionTip = false
- Vue.prototype.$store = store
- Vue.prototype.$toast=toast;
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
- export default app
|