@fonixtree/magic-design 1.0.217 → 1.0.218
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.
|
@@ -136,9 +136,12 @@ function (_super) {
|
|
|
136
136
|
if (version === 'v1' || isNeedLogin) {
|
|
137
137
|
if ((0, _commonUtil.checkLogin)(true, url)) {
|
|
138
138
|
(0, _commonUtil.navigateTo)(url);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
} // 未登录时,checkLogin已经处理了跳转到登录页的逻辑,登录后会通过redirectUrl自动跳转回来
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
return;
|
|
143
|
+
} else {
|
|
144
|
+
(0, _commonUtil.navigateTo)(url);
|
|
142
145
|
}
|
|
143
146
|
};
|
|
144
147
|
|
|
@@ -136,9 +136,12 @@ function (_super) {
|
|
|
136
136
|
if (version === 'v1' || isNeedLogin) {
|
|
137
137
|
if ((0, _commonUtil.checkLogin)(true, url)) {
|
|
138
138
|
(0, _commonUtil.navigateTo)(url);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
} // 未登录时,checkLogin已经处理了跳转到登录页的逻辑,登录后会通过redirectUrl自动跳转回来
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
return;
|
|
143
|
+
} else {
|
|
144
|
+
(0, _commonUtil.navigateTo)(url);
|
|
142
145
|
}
|
|
143
146
|
};
|
|
144
147
|
|