|
@@ -1,10 +1,19 @@
|
|
|
import Vue from 'vue'
|
|
|
import App from './App'
|
|
|
import {myRequest} from './util/api.js'
|
|
|
- // import wx from 'node_modules/jweixin-module/lib/index'
|
|
|
+ Vue.prototype.$myRequest = myRequest
|
|
|
+
|
|
|
+ // import wx from 'node_modules/jweixin-module/lib/index'
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ //配置公共方法
|
|
|
+ import common from './common/common.js'
|
|
|
+ Vue.prototype.$noMultipleClicks = common.noMultipleClicks; // (禁止重复点击)
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
- Vue.prototype.$myRequest = myRequest
|
|
|
|
|
|
// 引入colorui组件
|
|
|
import cuCustom from 'colorui/components/cu-custom.vue'
|