@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.esm.js CHANGED
@@ -22179,18 +22179,14 @@ function ly0sessionLoseWithUsertbl(usertbl) {
22179
22179
  }
22180
22180
 
22181
22181
  // 导航(路由跳转)
22182
- function navigate(_ref4) {
22183
- let {
22184
- code = '1',
22185
- // 路由跳转类型
22186
- path // 路由地址
22187
- } = _ref4;
22182
+ function navigate() {
22188
22183
  const router = useRouter();
22189
- const navigate = _ref5 => {
22184
+ const navigate = _ref4 => {
22190
22185
  let {
22191
22186
  code = '1',
22192
- path
22193
- } = _ref5;
22187
+ // 路由跳转类型
22188
+ path // 路由地址
22189
+ } = _ref4;
22194
22190
  if (code === '0') {
22195
22191
  window.location.href = path;
22196
22192
  } else if (code === '1') {