Blame view

wenjuan-h5/main.js 794 Bytes
b1fef010   杨鑫   '最新代码'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  import Vue from 'vue'
  import App from './App'
  import uView from "uview-ui";
  
  Vue.use(uView);
  
  Vue.config.productionTip = false
  
  import store from './store'
  import _ from 'lodash'
  
  import {jump,jumpToTabbar,goBack,getJumpParam} from './utils/jumpUtil'
  import {encrypt,decrypt,decryptall} from './utils/jiami.js'
  Vue.prototype.$store = store
  Vue.prototype.$lodash = _
  Vue.prototype.$jump = jump
  Vue.prototype.$jumpToTabbar = jumpToTabbar
  Vue.prototype.$goBack = goBack
  Vue.prototype.$getJumpParam = getJumpParam
  Vue.prototype.$encrypt = encrypt;
  Vue.prototype.$decrypt = decrypt;
  Vue.prototype.$decryptall = decryptall;
  Vue.prototype.$hostUrl =`${window.location.protocol}//${window.location.host}/cdwlMall`
  App.mpType = 'app'
  
  const app = new Vue({
      ...App
  })
  console.log(store)
  app.$mount()