You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
860 B
38 lines
860 B
import App from './App';
|
|
import Tall from '@/utils/tall';
|
|
import Vue from 'vue';
|
|
import dayjs from 'dayjs';
|
|
import request from '@/utils/request.js';
|
|
import store from './store';
|
|
import tall from '@/apis/tall.js';
|
|
import uView from 'uview-ui';
|
|
import wbs from '@/apis/wbs.js';
|
|
|
|
//#ifdef H5
|
|
// import './registerServiceWorker';
|
|
// import AlloyFinger from 'alloyfinger';
|
|
// import AlloyFingerPlugin from 'alloyfinger/vue/alloy_finger_vue';
|
|
// Vue.use(AlloyFingerPlugin, { AlloyFinger });
|
|
// indexedDB
|
|
// import indexedDB from '@/utils/indexedDB';
|
|
// Vue.use(indexedDB);
|
|
//#endif
|
|
|
|
Vue.config.productionTip = false;
|
|
Vue.prototype.$moment = dayjs;
|
|
Vue.use(uView);
|
|
Vue.use(Tall);
|
|
|
|
uni.$moment = dayjs;
|
|
|
|
dayjs.locale('zh-cn');
|
|
|
|
App.mpType = 'app';
|
|
|
|
const app = new Vue({ ...App, store });
|
|
|
|
Vue.use(request, app);
|
|
Vue.use(tall, app);
|
|
Vue.use(wbs, app);
|
|
|
|
app.$mount();
|
|
|