From 8f4cb950a38f4e2c24ec96916d2aad0eb8c9aa9d Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期日, 07 四月 2024 10:17:52 +0800
Subject: [PATCH] 测试完成

---
 src/components/Regular/index.vue |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index a1b49cb..5f23dca 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -13,7 +13,7 @@
             </el-input> </el-form-item
         ></el-col>
         <el-col :span="12"
-          ><el-form-item label="鑺傜偣ID">
+          ><el-form-item label="閫夐」鑺傜偣">
             <el-input
               type="text"
               placeholder="璇疯緭鍏ヨ妭鐐�"
@@ -36,11 +36,11 @@
             </el-input> </el-form-item
         ></el-col>
         <el-col :span="12"
-          ><el-form-item label="閫変腑璺宠浆(缂�)">
+          ><el-form-item label="閫変腑璺宠浆">
             <el-input
               type="text"
               placeholder="璇疯緭鍏ラ鐩妭鐐�"
-              v-model="item.jump"
+              v-model="item.nextQuestion"
               show-word-limit
             >
             </el-input> </el-form-item
@@ -55,7 +55,7 @@
             closable
             effect="dark"
             :disable-transitions="false"
-            @close="handleClosecrux(crux, item)"
+            @close="handleClosecrux(crux, item, 1)"
           >
             {{ crux }}
           </el-tag>
@@ -97,7 +97,7 @@
             closable
             effect="dark"
             :disable-transitions="false"
-            @close="handleClosecrux(crux, item)"
+            @close="handleClosecrux(crux, item, 2)"
           >
             {{ crux }}
           </el-tag>
@@ -223,9 +223,6 @@
   created() {
     this.regular = store.getters.regular;
     this.noregular = store.getters.noregular;
-
-    
-   
   },
 
   methods: {
@@ -275,11 +272,15 @@
       );
     },
 
-    handleClosecrux(crux, item) {
-      if (this.whether == 1) {
-        this.dynamiccruxs.splice(this.dynamiccruxs.indexOf(crux), 1);
+    handleClosecrux(crux, item, whether) {
+      if (whether == 1) {
+        item.dynamiccruxs.splice(item.dynamiccruxs.indexOf(crux), 1);
+        console.log(1);
+        console.log(item.dynamiccruxs);
+        console.log(item.nodynamiccruxs);
       } else {
-        this.nodynamiccruxs.splice(this.nodynamiccruxs.indexOf(crux), 1);
+        console.log(2);
+        item.nodynamiccruxs.splice(item.nodynamiccruxs.indexOf(crux), 1);
       }
       this.generateRegex(item);
     },

--
Gitblit v1.9.3