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

fix(mp-alipay): refInFor #930

上级 b86f990c
......@@ -14,7 +14,7 @@ const customizeRE = /:/g
const customize = cached((str) => {
return camelize(str.replace(customizeRE, '-'))
})
})
export const isComponent2 = my.canIUse('component2')
......@@ -112,7 +112,7 @@ export function handleRef (ref) {
if (refName) {
this.$vm.$refs[refName] = ref.$vm || ref
} else if (refInForName) {
this.$vm.$refs[refInForName] = [ref.$vm || ref]
(this.$vm.$refs[refInForName] || (this.$vm.$refs[refInForName] = [])).push(ref.$vm || ref)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册