...
|
...
|
@@ -21,12 +21,15 @@ const Vue = require('vue'); |
|
|
const util = require('common/util');
|
|
|
const interceptClick = require('common/intercept-click');
|
|
|
const bus = require('common/vue-bus');
|
|
|
const FastClick = require('fastclick');
|
|
|
|
|
|
/**
|
|
|
* iOS 7 不支持 Promise, vue-lazyload 有用到,所以全局申明
|
|
|
*/
|
|
|
global.Promise = Promise;
|
|
|
|
|
|
FastClick.attach(document.body);
|
|
|
|
|
|
// 隐藏 App 默认显示的 loading
|
|
|
Vue.mixin({
|
|
|
ready() {
|
...
|
...
|
|