提交 03eedc13 编写于 作者: Q qiang

style: gesture platform

上级 38ba088e
......@@ -13,8 +13,6 @@ import {
createComponentDescriptor
} from './wxs/component-descriptor'
import './gesture'
function pageMounted () {
// 通知 Service,View 层已 ready
UniViewJSBridge.publishHandler('onPageReady', {}, this.$page.id)
......
if (__PLATFORM__ === 'app-plus' && String(navigator.vendor).indexOf('Apple') === 0) {
if (String(navigator.vendor).indexOf('Apple') === 0) {
let firstEvent
let timeout
// 用于全局禁用 iOS 双击包含手势
......
......@@ -12,6 +12,8 @@ import {
initEvent
} from './event'
import './gesture'
export default {
install (Vue, options) {
if (process.env.NODE_ENV !== 'production') {
......@@ -29,4 +31,4 @@ export default {
initEvent(Vue)
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册