@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
- } else {
140
- navigateTo(url);
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
- } else {
140
- navigateTo(url);
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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.216",
4
+ "version": "1.0.218",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",