提交 1b752f89 编写于 作者: fxy060608's avatar fxy060608

Merge branch 'dev' of https://github.com/dcloudio/uni-app into v3

...@@ -54,9 +54,11 @@ if (process.env.UNI_USING_NVUE_COMPILER) { ...@@ -54,9 +54,11 @@ if (process.env.UNI_USING_NVUE_COMPILER) {
Object.keys(el.events).forEach(name => { Object.keys(el.events).forEach(name => {
// 过时事件类型转换 // 过时事件类型转换
if (eventsMap[name]) { if (eventsMap[name]) {
el.events[eventsMap[name]] = el.events[name] if (!(name === 'tap' && el.tag === 'map')) { // map 的 tap 事件不做转换
delete el.events[name] el.events[eventsMap[name]] = el.events[name]
name = eventsMap[name] delete el.events[name]
name = eventsMap[name]
}
} }
}) })
} }
......
...@@ -167,7 +167,7 @@ if (process.env.UNI_USING_NATIVE) { ...@@ -167,7 +167,7 @@ if (process.env.UNI_USING_NATIVE) {
}, { }, {
from: path.resolve( from: path.resolve(
process.env.UNI_HBUILDERX_PLUGINS, process.env.UNI_HBUILDERX_PLUGINS,
'weapp-tools/template/v8' 'weapp-tools/template/v8-native'
), ),
to: process.env.UNI_OUTPUT_DIR to: process.env.UNI_OUTPUT_DIR
}, { }, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册