6***@qq.com
6***@qq.com
  • 发布:2022-04-26 11:31
  • 更新:2022-04-26 11:31
  • 阅读:1169

vue3 h5 路由返回报错 Uncaught TypeError: Cannot read properties of undefined (reading '$page')

分类:HBuilderX
   <router-link to="/pages/grab/index" class="search"> 链接</router-link>

点击router-link路由跳转,用浏览器原生返回按钮, 反复操作三四次就出现uni-h5.es.js的这个报错,且页面不能返回上一级

Uncaught TypeError: Cannot read properties of undefined (reading '$page')
at removeCurrentPages (uni-h5.es.js:14118:26)
at uni-h5.es.js:14130:7
at vue-router.esm-bundler.js:441:13
at Array.forEach (<anonymous>)
at popStateHandler (vue-router.esm-bundler.js:440:19

2022-04-26 11:31 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复