-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
29 lines (21 loc) · 767 Bytes
/
Copy pathmain.js
File metadata and controls
29 lines (21 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import Vue from 'vue';
import App from './App';
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue";
import QSInfinitePics from "@/components/QS-inputs-split/elements/QS-infinitePics/index.vue";
import { navigateTo } from '@/utils/route.js';
Vue.prototype.$navigateTo = navigateTo;
import { showToast, showModal } from '@/utils/tips.js';
Vue.prototype.$showToast = showToast;
Vue.prototype.$showModal = showModal;
import uView from "uview-ui";
Vue.use(uView);
Vue.config.productionTip = false;
App.mpType = 'app';
//全局注册上拉加载,下拉刷新插件
Vue.component("mescroll-body", MescrollBody);
//全局注册图片上传插件
Vue.component("QSInfinitePics", QSInfinitePics);
const app = new Vue({
...App
});
app.$mount();