@yoooloo42/joker 1.0.196 → 1.0.197
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 +5 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22183,18 +22183,14 @@ function ly0sessionLoseWithUsertbl(usertbl) {
|
|
|
22183
22183
|
}
|
|
22184
22184
|
|
|
22185
22185
|
// 导航(路由跳转)
|
|
22186
|
-
function navigate(
|
|
22187
|
-
let {
|
|
22188
|
-
code = '1',
|
|
22189
|
-
// 路由跳转类型
|
|
22190
|
-
path // 路由地址
|
|
22191
|
-
} = _ref4;
|
|
22186
|
+
function navigate() {
|
|
22192
22187
|
const router = useRouter();
|
|
22193
|
-
const navigate =
|
|
22188
|
+
const navigate = _ref4 => {
|
|
22194
22189
|
let {
|
|
22195
22190
|
code = '1',
|
|
22196
|
-
|
|
22197
|
-
|
|
22191
|
+
// 路由跳转类型
|
|
22192
|
+
path // 路由地址
|
|
22193
|
+
} = _ref4;
|
|
22198
22194
|
if (code === '0') {
|
|
22199
22195
|
window.location.href = path;
|
|
22200
22196
|
} else if (code === '1') {
|