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

build uni-mp-weixin 0.0.926

上级 4c8bf949
......@@ -509,6 +509,7 @@ function handleEvent (event) {
if (eventsArray && eventType === type) {
eventsArray.forEach(eventArray => {
const methodName = eventArray[0];
if (methodName) {
const handler = this.$vm[methodName];
if (!isFn(handler)) {
throw new Error(` _vm.${methodName} is not a function`)
......@@ -527,6 +528,7 @@ function handleEvent (event) {
isCustom,
methodName
));
}
});
}
});
......
{
"name": "@dcloudio/uni-mp-weixin",
"version": "0.0.925",
"version": "0.0.926",
"description": "uni-app mp-weixin",
"main": "dist/index.js",
"scripts": {
......
......@@ -252,6 +252,7 @@ export function handleEvent (event) {
if (eventsArray && eventType === type) {
eventsArray.forEach(eventArray => {
const methodName = eventArray[0]
if (methodName) {
const handler = this.$vm[methodName]
if (!isFn(handler)) {
throw new Error(` _vm.${methodName} is not a function`)
......@@ -270,6 +271,7 @@ export function handleEvent (event) {
isCustom,
methodName
))
}
})
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册