123456789101112131415161718192021222324252627282930 |
- import Vue from 'vue'
- import App from './App'
- import http from 'http.js'
- import verified from 'verified.js'
- import store from './store'
- Vue.prototype.$http = http
- Vue.prototype.$verified = verified
- Vue.prototype.$store = store
- Vue.config.productionTip = false
- App.mpType = 'app'
- Vue.filter('imagesFilter', (images) => {
- let image = '';
- if (images) {
- image = images.split(',')[0]
- }
- if (image.indexOf("http") !== 0) {
- image = http.baseImageUrl + image;
- }
- return image;
- })
- const app = new Vue({
- ...App,
- store
- })
- app.$mount()
|