From 4dc66a6c347a4483e72892ed4195e597b9d43f8f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 29 四月 2024 15:02:28 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/verbaltrick/particulars/index.vue | 52 ++++++++++++++++++++++++---------------------------- 1 files changed, 24 insertions(+), 28 deletions(-) diff --git a/src/views/repositoryai/verbaltrick/particulars/index.vue b/src/views/repositoryai/verbaltrick/particulars/index.vue index 7be697a..8e0978c 100644 --- a/src/views/repositoryai/verbaltrick/particulars/index.vue +++ b/src/views/repositoryai/verbaltrick/particulars/index.vue @@ -270,7 +270,6 @@ :rows="2" type="textarea" id="questionText" - maxlength="66" show-word-limit placeholder="璇疯緭鍏ュ唴瀹�" v-model.sync="indexform.questionText" @@ -298,15 +297,14 @@ > <el-row> <el-col :span="24"> - <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="nomatchtext"> + <el-form-item label="鏃犲尮閰嶆枃鏈�" prop="noMatchText"> <el-input type="textarea" :rows="2" - id="nomatchtext" + id="noMatchText" placeholder="璇疯緭鍏ュ唴瀹�" - v-model.sync="indexform.nomatchtext" - @focus="handleInput('nomatchtext')" - maxlength="66" + v-model.sync="indexform.noMatchText" + @focus="handleInput('noMatchText')" show-word-limit /> </el-form-item> </el-col @@ -329,15 +327,14 @@ > <el-row> <el-col :span="24"> - <el-form-item label="鏃犲0鏂囨湰" prop="sliencetext"> + <el-form-item label="鏃犲0鏂囨湰" prop="slienceText"> <el-input type="textarea" :rows="2" - id="sliencetext" + id="slienceText" placeholder="璇疯緭鍏ュ唴瀹�" - v-model.sync="indexform.sliencetext" - @focus="handleInput('sliencetext')" - maxlength="66" + v-model.sync="indexform.slienceText" + @focus="handleInput('slienceText')" show-word-limit /> </el-form-item> </el-col @@ -361,15 +358,14 @@ <el-row> <el-col :span="24"> - <el-form-item label="鍚笉娓呮枃鏈�" prop="noclearlytext"> + <el-form-item label="鍚笉娓呮枃鏈�" prop="noClearlyText"> <el-input type="textarea" - id="noclearlytext" + id="noClearlyText" :rows="2" placeholder="璇疯緭鍏ュ唴瀹�" - @focus="handleInput('noclearlytext')" - v-model.sync="indexform.noclearlytext" - maxlength="66" + @focus="handleInput('noClearlyText')" + v-model.sync="indexform.noClearlyText" show-word-limit /> </el-form-item> </el-col @@ -897,12 +893,12 @@ //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛� if (this.currentInputId == "questionText") { inputValueArr = this.indexform.questionText.split(""); - } else if (this.currentInputId == "nomatchtext") { - inputValueArr = this.indexform.nomatchtext.split(""); - } else if (this.currentInputId == "sliencetext") { - inputValueArr = this.indexform.sliencetext.split(""); - } else if (this.currentInputId == "noclearlytext") { - inputValueArr = this.indexform.noclearlytext.split(""); + } else if (this.currentInputId == "noMatchText") { + inputValueArr = this.indexform.noMatchText.split(""); + } else if (this.currentInputId == "slienceText") { + inputValueArr = this.indexform.slienceText.split(""); + } else if (this.currentInputId == "noClearlyText") { + inputValueArr = this.indexform.noClearlyText.split(""); } else if (this.currentInputId == "submoduletext") { inputValueArr = this.indexform.submoduletext.split(""); } else { @@ -919,12 +915,12 @@ console.log(inputValueArr); if (this.currentInputId == "questionText") { this.indexform.questionText = inputValueArr; - } else if (this.currentInputId == "nomatchtext") { - this.indexform.nomatchtext = inputValueArr; - } else if (this.currentInputId == "sliencetext") { - this.indexform.sliencetext = inputValueArr; - } else if (this.currentInputId == "noclearlytext") { - this.indexform.noclearlytext = inputValueArr; + } else if (this.currentInputId == "noMatchText") { + this.indexform.noMatchText = inputValueArr; + } else if (this.currentInputId == "slienceText") { + this.indexform.slienceText = inputValueArr; + } else if (this.currentInputId == "noClearlyText") { + this.indexform.noClearlyText = inputValueArr; } else if (this.currentInputId == "submoduletext") { this.indexform.submoduletext = inputValueArr; } else { -- Gitblit v1.9.3