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