123456789101112131415161718192021222324252627 |
- import Vue from 'vue'
- import App from './App'
- import https from './util/api.js'
- Vue.config.productionTip = false
- /*将全局方法挂在在 Vue 原型上--start*/
- import h_global from './_common/public/hGlobal.js' //全局方法 用户页面
- import h_util from './_common/public/Utils.class.js' //全局方法
- Vue.prototype.h_global = h_global;
- Vue.prototype.h_util = h_util;
- Vue.prototype.$http = https
- /* 使用uView组件库 */
- import uView from "uview-ui";
- Vue.use(uView);
- import common from './js_sdk/common.js'
- Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount() //挂载Vue实例
|