From 81150f2c6e86f747a7e7539e91f7b75e9fa87075 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 10 十二月 2024 14:14:38 +0800
Subject: [PATCH] 电路试验退出保存优化

---
 src/view/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/view/index.vue b/src/view/index.vue
index efe8884..3716b4c 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -518,8 +518,8 @@
             confirmButtonText: '纭畾',
             cancelButtonText: '鍙栨秷',
             type: 'warning'
-          }).then(() => {
-            if(obj.$refs.Inspection.$refs.CircuitParameters.saveAll()){
+          }).then( async () => {
+            if(await obj.$refs.Inspection.$refs.CircuitParameters.saveAll()){
               this.tabs.splice(index, 1);
               let data = this.tabs[this.tabs.length - 1]
               this.upTabActive(data.k)

--
Gitblit v1.9.3