wxapp-router icon indicating copy to clipboard operation
wxapp-router copied to clipboard

🛵 The router for Wechat Miniprogram

Results 5 wxapp-router issues
Sort by recently updated
recently updated
newest added

是个菜鸟, 来找小程序路由插件,是为了那个路由拦截器来的,看了一下你得使用教程,4.3之后就看不明白了,菜鸟的我不知道那有什么用,建议搞得简单一点,加上一个路由拦截器

### 使用路由的链式跳转逻辑上目前没有问题,就是跳转的时候控制台会报错,具体内容如下: ![image](https://user-images.githubusercontent.com/53500371/210614690-c83aa224-2382-40aa-839f-eb9d0b47bf28.png) ### 代码示例 - /page/index/index跳转/pages/logs/logs ```js ctx.routes.pages.logs.go({ name: 'jerry' }); ``` ### 版本信息 - wxapp-router @latest - wx基础库 @2.29.0

routers.pages.goods.go(params);

import { Router } from 'wxapp-router'; const router = new Router(); export const routesConfig = [ { path: '/mine', route: '/pages/mine/index' } ]; router.batchRegister(routesConfig); const routes = router.getRoutes(); export {...