main.js 794 Bytes
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()