Browse Source

代码上传

zhangqiOMG 2 years ago
parent
commit
83bac9527b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/detailTemplate/index.vue

+ 1 - 1
src/components/detailTemplate/index.vue

@@ -69,7 +69,7 @@
   
   const activeKey = ref(0)
   const goBack = ()=>{
-    router.go(-1)
+    router.replace(router.currentRoute.value.meta.name)
   }
 
   const delData = ()=>{