From aa055fac8e928e10a70e2089353dc1b67d435576 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 03 九月 2024 11:37:22 +0800
Subject: [PATCH] 测试完成

---
 src/components/Regular/index.vue |   24 +++++++-----------------
 1 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index 4a3c1f6..b52668f 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -56,10 +56,11 @@
               >
               </el-input> </el-form-item
           ></el-col>
-          <el-col :span="12"
+          <el-col :span="12" v-show="branchFlag"
             ><el-form-item label="閫変腑璺宠浆">
               <el-input
                 type="text"
+                @blur="$emit('branchFlagfn', item.nextQuestion)"
                 placeholder="璇疯緭鍏ラ鐩妭鐐�"
                 v-model="item.nextQuestion"
                 show-word-limit
@@ -174,22 +175,7 @@
         </el-form-item>
 
         <el-row :gutter="10">
-          <el-col :span="16" v-if="intent">
-            <div></div>
-            <!-- <el-form-item label="璇煶鏂囦欢">
-              <el-upload
-                class="upload-demo"
-                style="display: flex"
-                action="https://jsonplaceholder.typicode.com/posts/"
-                :file-list="fileList"
-                :limit="1"
-                :on-exceed="handleExceed"
-              >
-                <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
-              </el-upload>
-            </el-form-item> -->
-          </el-col>
-          <el-col :offset="12" :span="intent ? 8 : 22">
+          <el-col>
             <div style="text-align: right; padding-right: 10px">
               <el-button
                 v-if="controlsc || addoption"
@@ -287,6 +273,10 @@
       type: Boolean,
       default: true,
     },
+    branchFlag: {
+      type: Boolean,
+      default: false,
+    },
   },
 
   created() {

--
Gitblit v1.9.3