public-opinion/main.js

21 lines
377 B
JavaScript

import Vue from 'vue';
import App from './App';
import store from './store'
Vue.prototype.$store = store
// 常用便捷式公共方法
import tools from '@/jsFile/tools.js';
Vue.prototype.$toolAll = tools;
// 响应数据
import requst from '@/jsFile/requst.js';
Vue.prototype.$requst = requst;
App.mpType = 'app';
const app = new Vue({
store,
...App
})
app.$mount()