File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -4881,6 +4881,13 @@ function setRef(instance, isUnmount = false) {
48814881 }
48824882 }
48834883 } ;
4884+ if ( $mpPlatform !== "mp-alipay" ) {
4885+ if ( $scope . _$setRef ) {
4886+ $scope . _$setRef ( doSet ) ;
4887+ } else {
4888+ nextTick ( instance , doSet ) ;
4889+ }
4890+ }
48844891 if ( $templateUniElementRefs && $templateUniElementRefs . length ) {
48854892 nextTick ( instance , ( ) => {
48864893 $templateUniElementRefs . forEach ( ( templateRef ) => {
@@ -4894,14 +4901,6 @@ function setRef(instance, isUnmount = false) {
48944901 } ) ;
48954902 } ) ;
48964903 }
4897- if ( $mpPlatform === "mp-alipay" ) {
4898- return ;
4899- }
4900- if ( $scope . _$setRef ) {
4901- $scope . _$setRef ( doSet ) ;
4902- } else {
4903- nextTick ( instance , doSet ) ;
4904- }
49054904}
49064905function toSkip ( value ) {
49074906 if ( isObject ( value ) ) {
You can’t perform that action at this time.
0 commit comments