0
点赞
收藏
分享

微信扫一扫

ubuntu22安装搜狗输入法不能输入中文

我是芄兰 2024-11-06 阅读 12
<el-table-column>
    <template slot-scope="scope">
    <el-button
      @click="checkRule(scope.row)">
      查看详情
      </el-button>
      </template >
</el-table-column>

script写法

checkRule(row){
   this.$router.push({
		query:{
		参数1:参数1,
		参数2:参数2
		},
		path:'页面路径'

})
}

要跳转的页面
script写法

created(){
  //跨页面取值
  let var = this.$route.query.参数1
  .....
  


}
举报

相关推荐

0 条评论