解决跳转问题
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user