qymljy 2 лет назад
Родитель
Сommit
364243dc40
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/normal-basic-layout/details/index.vue

+ 1 - 1
src/components/normal-basic-layout/details/index.vue

@@ -3,7 +3,7 @@
     <div style="margin:10px 10px 0 10px;border-radius:5px;" class="container normal-panel sticky" @click="closeTags">
       <div class="flex-align-start flex-between normal-margin" style="flex-wrap:nowrap;margin-bottom: 0px !important;">
         <div>
-          <el-button type="primary"  size="mini"  @click="$store.dispatch('changeDetailDrawer',false)" style="margin-bottom: 10px">返 回</el-button>
+          <el-button type="primary"  size="mini"  @click="$router.go(-1);$store.dispatch('changeDetailDrawer',false)" style="margin-bottom: 10px">返 回</el-button>
           <p class="main_title mt-10">
             {{titleText?titleText:'##'}}
           </p>