From 825155dffbd4f39f930ed0a0dfeca59307709019 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 02 二月 2026 17:47:08 +0800
Subject: [PATCH] 工序,工艺路线增加是否质检
---
src/plugins/tab.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/plugins/tab.js b/src/plugins/tab.js
index 440271e..16755f0 100644
--- a/src/plugins/tab.js
+++ b/src/plugins/tab.js
@@ -59,8 +59,10 @@
return useTagsViewStore().delOthersViews(obj || router.currentRoute.value)
},
// 鎵撳紑tab椤电
- openPage(url) {
- return router.push(url)
+ openPage(title, url, params) {
+ const obj = { path: url, meta: { title: title } }
+ useTagsViewStore().addView(obj)
+ return router.push({ path: url, query: params })
},
// 淇敼tab椤电
updatePage(obj) {
--
Gitblit v1.9.3