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

style: gesture platform

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