Files
tripellet-merchant/main.js

23 lines
521 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
import common from './common/common'
import { changeMoeny } from '@/util/util'
App.mpType = 'app'
// i18n部分的配置
import i18n from '@/common/i18n/lang/index.js'
// 由于微信小程序的运行机制问题需声明如下一行H5和APP非必填
Vue.prototype._i18n = i18n
Vue.filter('changeMoney', (money) => {
return changeMoeny(money.toString())
})
const app = new Vue({
i18n,
...App
})
app.$mount()
export default app;