@mpxjs/webpack-plugin 2.9.69-beta.8 → 2.9.69-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1771,7 +1771,7 @@ function processRefReact (el, meta) {
|
|
|
1771
1771
|
const selectorsConf = selectors.map(item => `["${item.prefix}", ${item.selector}]`)
|
|
1772
1772
|
addAttrs(el, [{
|
|
1773
1773
|
name: 'ref',
|
|
1774
|
-
value: `{{ this.__getRefVal('${type}', [${selectorsConf}]) }}`
|
|
1774
|
+
value: `{{ this.__getRefVal('${type}', [${selectorsConf}], 'ref_fn_${++refId}') }}`
|
|
1775
1775
|
}])
|
|
1776
1776
|
}
|
|
1777
1777
|
|