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

fix(mp-alipay): mixin with props #1858

上级 30c28c02
......@@ -177,6 +177,9 @@ export function initBehaviors (vueOptions, initBehavior) {
}
})
}
if (__PLATFORM__ === 'mp-alipay') { // alipay 重复定义props会报错,下边的代码对于其他平台也没有意义,保险起见,仅对alipay做处理
return
}
if (isPlainObject(vueExtends) && vueExtends.props) {
behaviors.push(
initBehavior({
......@@ -569,4 +572,4 @@ export function handleEvent (event) {
) {
return ret[0]
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册