From ddd540811008852a59935561a456ec3b0cb0033b Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 25 四月 2024 09:54:37 +0800
Subject: [PATCH] 测试完成

---
 src/views/repositoryai/verbaltrick/particulars/index.vue |   12 ++++++------
 src/views/repositoryai/intention/index.vue               |    1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue
index 1d7202d..fa40443 100644
--- a/src/views/repositoryai/intention/index.vue
+++ b/src/views/repositoryai/intention/index.vue
@@ -1158,6 +1158,7 @@
       this.indexform = row;
       this.dynamicTags = row.baseTagList.map(this.processElement);
       this.testuserList = row.targetoptionList;
+      this.testvalue='';
       this.indexopen = true;
       this.measurement = false;
     },
diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue
index a3a6804..662b6e6 100644
--- a/src/views/repositoryai/verbaltrick/particulars/index.vue
+++ b/src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -265,14 +265,14 @@
           >
           <el-row>
             <el-col :span="24">
-              <el-form-item label="闂鏂囨湰" prop="questiontext">
+              <el-form-item label="闂鏂囨湰" prop="questionText">
                 <el-input
                   type="textarea"
                   :rows="2"
                   placeholder="璇疯緭鍏ュ唴瀹�"
-                  id="questiontext"
+                  id="questionText"
                   v-model.sync="indexform.questionText"
-                  @focus="handleInput('questiontext')"
+                  @focus="handleInput('questionText')"
                   maxlength="30"
                 />
               </el-form-item> </el-col
@@ -919,8 +919,8 @@
       let inputValueArr = "";
       let el = document.querySelector("#" + this.currentInputId);
       //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛�
-      if (this.currentInputId == "questiontext") {
-        inputValueArr = this.indexform.questiontext.split("");
+      if (this.currentInputId == "questionText") {
+        inputValueArr = this.indexform.questionText.split("");
       } else if (this.currentInputId == "nomatchtext") {
         inputValueArr = this.indexform.nomatchtext.split("");
       } else if (this.currentInputId == "sliencetext") {
@@ -941,7 +941,7 @@
       // 鎶婃暟缁勯噸鏂拌浆鎹负瀛楃涓插苟璧嬪��
       inputValueArr = inputValueArr.join("");
       console.log(inputValueArr);
-      if (this.currentInputId == "questiontext") {
+      if (this.currentInputId == "questionText") {
         this.indexform.questionText = inputValueArr;
       } else if (this.currentInputId == "nomatchtext") {
         this.indexform.nomatchtext = inputValueArr;

--
Gitblit v1.9.3