解决跳转问题

This commit is contained in:
aixianling
2024-06-27 15:24:37 +08:00
parent 91fd641845
commit 72d69e5c8f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
@getList="getTableData" :col-configs="colConfigs" :dict="dict" height="calc(100% - 64px)">
<el-table-column label="操作" slot="options" align="center" width="100">
<template v-slot="{row}">
<el-button v-if="row.aiEnable==1" type="text" @click="$router.push({hash:'#add',query:{id:row.id}})">详情</el-button>
<el-button v-if="row.aiEnable==1" type="text" @click="$router.push({hash:'#add',query:{id:row.id},params:globalParams})">详情</el-button>
</template>
</el-table-column>
</ai-table>

View File

@@ -53,7 +53,7 @@ export default {
<template>
<ai-detail class="coDetail">
<ai-title slot="title" :title="$options.label" isShowBottomBorder isShowBack @back="$router.push({})"/>
<ai-title slot="title" :title="$options.label" isShowBottomBorder isShowBack @back="$router.push({query:$route.params})"/>
<template #content>
<div class="grid col-2 gap-20">
<div>