Эх сурвалжийг харах

流程发起后关闭流程发起标签页

lxf 2 жил өмнө
parent
commit
e70c1ccdc3

+ 3 - 0
src/views/process/processApproval/index.vue

@@ -129,6 +129,7 @@
 </template>
 
 <script setup name='ProcessApproval'>
+import useTagsViewStore from "@/store/modules/tagsView.js"
 import { useRouter, useRoute } from "vue-router";
 //申购发起
 import SendSubscribe from "@/components/process/SendSubscribe";
@@ -265,6 +266,8 @@ const handleSubmit = async () => {
 };
 // 页面跳转
 const skipPage = () => {
+  const useTagsStore = useTagsViewStore()
+  useTagsStore.delVisitedView(router.currentRoute.value);
   ElMessage({
     message: "操作成功!",
     type: "success",