1、this.$router.params.参数key

 

2、引用 taro 框架自带的

import Taro, {getCurrentInstance} from '@tarojs/taro'
 
const  params = getCurrentInstance().router.params
 
 params.参数key

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2021-11-03
  • 2022-12-23
猜你喜欢
  • 2021-09-29
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案