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

build uni runtime

上级 9b998f9c
...@@ -832,8 +832,12 @@ function isMatchEventType (eventType, optType) { ...@@ -832,8 +832,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$2(event); event = wrapper$2(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-app-plus", "name": "@dcloudio/uni-app-plus",
"version": "0.0.245", "version": "0.0.246",
"description": "uni-app app-plus", "description": "uni-app app-plus",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -1197,8 +1197,12 @@ function isMatchEventType (eventType, optType) { ...@@ -1197,8 +1197,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$1(event); event = wrapper$1(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-mp-alipay", "name": "@dcloudio/uni-mp-alipay",
"version": "0.0.819", "version": "0.0.820",
"description": "uni-app mp-alipay", "description": "uni-app mp-alipay",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -958,8 +958,12 @@ function isMatchEventType (eventType, optType) { ...@@ -958,8 +958,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$1(event); event = wrapper$1(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-mp-baidu", "name": "@dcloudio/uni-mp-baidu",
"version": "0.0.847", "version": "0.0.848",
"description": "uni-app mp-baidu", "description": "uni-app mp-baidu",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -896,8 +896,12 @@ function isMatchEventType (eventType, optType) { ...@@ -896,8 +896,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$1(event); event = wrapper$1(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-mp-qq", "name": "@dcloudio/uni-mp-qq",
"version": "0.0.103", "version": "0.0.104",
"description": "uni-app mp-qq", "description": "uni-app mp-qq",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -977,8 +977,12 @@ function isMatchEventType (eventType, optType) { ...@@ -977,8 +977,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$1(event); event = wrapper$1(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-mp-toutiao", "name": "@dcloudio/uni-mp-toutiao",
"version": "0.0.343", "version": "0.0.344",
"description": "uni-app mp-toutiao", "description": "uni-app mp-toutiao",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -834,8 +834,12 @@ function isMatchEventType (eventType, optType) { ...@@ -834,8 +834,12 @@ function isMatchEventType (eventType, optType) {
function handleEvent (event) { function handleEvent (event) {
event = wrapper$1(event); event = wrapper$1(event);
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const eventOpts = (event.currentTarget || event.target).dataset.eventOpts; const dataset = (event.currentTarget || event.target).dataset;
if (!dataset) {
return console.warn(`事件信息不存在`)
}
const eventOpts = dataset.eventOpts || dataset['event-opts'];// 支付宝 web-view 组件 dataset 非驼峰
if (!eventOpts) { if (!eventOpts) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
......
{ {
"name": "@dcloudio/uni-mp-weixin", "name": "@dcloudio/uni-mp-weixin",
"version": "0.0.964", "version": "0.0.965",
"description": "uni-app mp-weixin", "description": "uni-app mp-weixin",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -452,7 +452,7 @@ export function handleEvent (event) { ...@@ -452,7 +452,7 @@ export function handleEvent (event) {
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]] // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const dataset = (event.currentTarget || event.target).dataset const dataset = (event.currentTarget || event.target).dataset
if(!dataset){ if (!dataset) {
return console.warn(`事件信息不存在`) return console.warn(`事件信息不存在`)
} }
const eventOpts = dataset.eventOpts || dataset['event-opts']// 支付宝 web-view 组件 dataset 非驼峰 const eventOpts = dataset.eventOpts || dataset['event-opts']// 支付宝 web-view 组件 dataset 非驼峰
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册