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