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

build uni runtime

上级 9b998f9c
......@@ -833,7 +833,11 @@ function handleEvent (event) {
event = wrapper$2(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-app-plus",
"version": "0.0.245",
"version": "0.0.246",
"description": "uni-app app-plus",
"main": "dist/index.js",
"scripts": {
......
......@@ -1198,7 +1198,11 @@ function handleEvent (event) {
event = wrapper$1(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-mp-alipay",
"version": "0.0.819",
"version": "0.0.820",
"description": "uni-app mp-alipay",
"main": "dist/index.js",
"scripts": {
......
......@@ -959,7 +959,11 @@ function handleEvent (event) {
event = wrapper$1(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-mp-baidu",
"version": "0.0.847",
"version": "0.0.848",
"description": "uni-app mp-baidu",
"main": "dist/index.js",
"scripts": {
......
......@@ -897,7 +897,11 @@ function handleEvent (event) {
event = wrapper$1(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-mp-qq",
"version": "0.0.103",
"version": "0.0.104",
"description": "uni-app mp-qq",
"main": "dist/index.js",
"scripts": {
......
......@@ -978,7 +978,11 @@ function handleEvent (event) {
event = wrapper$1(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-mp-toutiao",
"version": "0.0.343",
"version": "0.0.344",
"description": "uni-app mp-toutiao",
"main": "dist/index.js",
"scripts": {
......
......@@ -835,7 +835,11 @@ function handleEvent (event) {
event = wrapper$1(event);
// [['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) {
return console.warn(`事件信息不存在`)
}
......
{
"name": "@dcloudio/uni-mp-weixin",
"version": "0.0.964",
"version": "0.0.965",
"description": "uni-app mp-weixin",
"main": "dist/index.js",
"scripts": {
......
......@@ -452,7 +452,7 @@ export function handleEvent (event) {
// [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
const dataset = (event.currentTarget || event.target).dataset
if(!dataset){
if (!dataset) {
return console.warn(`事件信息不存在`)
}
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.
先完成此消息的编辑!
想要评论请 注册