解决跳转问题
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
@getList="getTableData" :col-configs="colConfigs" :dict="dict" height="calc(100% - 64px)">
|
@getList="getTableData" :col-configs="colConfigs" :dict="dict" height="calc(100% - 64px)">
|
||||||
<el-table-column label="操作" slot="options" align="center" width="100">
|
<el-table-column label="操作" slot="options" align="center" width="100">
|
||||||
<template v-slot="{row}">
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</ai-table>
|
</ai-table>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export default {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ai-detail class="coDetail">
|
<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>
|
<template #content>
|
||||||
<div class="grid col-2 gap-20">
|
<div class="grid col-2 gap-20">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user