We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b86f990 commit 1967262Copy full SHA for 1967262
src/platforms/mp-alipay/runtime/wrapper/util.js
@@ -14,7 +14,7 @@ const customizeRE = /:/g
14
15
const customize = cached((str) => {
16
return camelize(str.replace(customizeRE, '-'))
17
-})
+})
18
19
export const isComponent2 = my.canIUse('component2')
20
@@ -112,7 +112,7 @@ export function handleRef (ref) {
112
if (refName) {
113
this.$vm.$refs[refName] = ref.$vm || ref
114
} else if (refInForName) {
115
- this.$vm.$refs[refInForName] = [ref.$vm || ref]
+ (this.$vm.$refs[refInForName] || (this.$vm.$refs[refInForName] = [])).push(ref.$vm || ref)
116
}
117
118
0 commit comments