@yoooloo42/joker 1.0.193 → 1.0.194

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.
package/dist/index.esm.js CHANGED
@@ -22186,11 +22186,15 @@ function navigate(_ref4) {
22186
22186
  // 路由跳转类型
22187
22187
  path // 路由地址
22188
22188
  } = _ref4;
22189
+ console.log('测试 000', code);
22190
+ console.log('测试 111', path);
22191
+ console.log('测试 222', router);
22189
22192
  if (code === '0') {
22190
22193
  window.location.href = path;
22191
22194
  } else if (code === '1') {
22192
22195
  router.push(path);
22193
22196
  } else {
22197
+ // 默认 code === '1'
22194
22198
  router.push(path);
22195
22199
  }
22196
22200
  }