...
|
...
|
@@ -6,6 +6,8 @@ import {createApp} from './app'; |
|
|
import {createApi} from 'create-api';
|
|
|
import {Style, Toast, Dialog, ActionSheet} from 'cube-ui'; //eslint-disable-line
|
|
|
import Prompt from 'plugins/grass-prompt';
|
|
|
import bus from 'plugins/bus';
|
|
|
|
|
|
import {get} from 'lodash';
|
|
|
import Lazy from 'vue-lazyload';
|
|
|
import yoho from 'common/yoho';
|
...
|
...
|
@@ -38,6 +40,8 @@ Vue.prop('auth', function() { |
|
|
|
|
|
return true;
|
|
|
});
|
|
|
|
|
|
Vue.prop('bus', bus());
|
|
|
Vue.use(Prompt);
|
|
|
Vue.use(Toast);
|
|
|
Vue.use(Dialog);
|
...
|
...
|
@@ -45,7 +49,6 @@ Vue.use(ActionSheet); |
|
|
Vue.prop('api', createApi(context, store));
|
|
|
Vue.use(Lazy, {error: ''});
|
|
|
|
|
|
|
|
|
InitClient(store);
|
|
|
|
|
|
const trackPage = (path) => {
|
...
|
...
|
|