Blame view

ceres-uniapp-master/main.js 794 Bytes
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
  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'
ff75800c   杨鑫   'zuix'
13
  import {encrypt,decrypt,decryptall} from './utils/jiami.js'
3f535f30   杨鑫   '初始'
14
15
16
17
18
19
  Vue.prototype.$store = store
  Vue.prototype.$lodash = _
  Vue.prototype.$jump = jump
  Vue.prototype.$jumpToTabbar = jumpToTabbar
  Vue.prototype.$goBack = goBack
  Vue.prototype.$getJumpParam = getJumpParam
ff75800c   杨鑫   'zuix'
20
21
22
  Vue.prototype.$encrypt = encrypt;
  Vue.prototype.$decrypt = decrypt;
  Vue.prototype.$decryptall = decryptall;
8550d958   杨鑫   '最新'
23
  Vue.prototype.$hostUrl =`${window.location.protocol}//${window.location.host}/cdwlMall`
3f535f30   杨鑫   '初始'
24
25
26
27
28
29
30
  App.mpType = 'app'
  
  const app = new Vue({
      ...App
  })
  console.log(store)
  app.$mount()