BUG 31035

This commit is contained in:
aixianling
2022-09-21 15:54:58 +08:00
parent 25edd8b7df
commit 15f5d59794
3 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ export default {
}) })
}, },
back() { back() {
this.$router.push({}) this.$router.back()
}, },
}, },
created() { created() {

View File

@@ -1,7 +1,7 @@
<template> <template>
<section class="productDetail"> <section class="productDetail">
<ai-detail> <ai-detail>
<ai-title slot="title" :title="`${menuName}详情`" isShowBottomBorder isShowBack @onBackClick="$router.push({query:{}})"> <ai-title slot="title" :title="`${menuName}详情`" isShowBottomBorder isShowBack @onBackClick="$router.back()">
<template #rightBtn> <template #rightBtn>
<el-button v-if="isAdmin&&detail.status==0" type="primary" @click="dialog=true">审核</el-button> <el-button v-if="isAdmin&&detail.status==0" type="primary" @click="dialog=true">审核</el-button>
</template> </template>

View File

@@ -1,7 +1,7 @@
<template> <template>
<section class="productRecommend"> <section class="productRecommend">
<ai-list> <ai-list>
<ai-title slot="title" title="推荐产品" isShowBottomBorder isShowBack @onBackClick="$router.push({query:{}})"/> <ai-title slot="title" title="推荐产品" isShowBottomBorder isShowBack @onBackClick="$router.back()"/>
<template #content> <template #content>
<ai-search-bar> <ai-search-bar>
<template #left> <template #left>