zhangjie hace 1 año
padre
commit
7162736236

+ 4 - 3
src/modules/question/components/GptQuestionDialog.vue

@@ -40,7 +40,7 @@
               placeholder="出题数量"
               style="width: 150px"
               :min="1"
-              :max="100"
+              :max="10"
               :step="1"
               step-strictly
               :controls="false"
@@ -56,7 +56,7 @@
               placeholder="选项个数"
               style="width: 150px"
               :min="1"
-              :max="26"
+              :max="10"
               :step="1"
               step-strictly
               :controls="false"
@@ -72,7 +72,7 @@
               placeholder="填空个数"
               style="width: 150px"
               :min="1"
-              :max="100"
+              :max="5"
               :step="1"
               step-strictly
               :controls="false"
@@ -91,6 +91,7 @@
               v-model="formModel.knowledgeNotes"
               placeholder="请录入知识点补充说明"
               type="textarea"
+              maxlength="30"
               clearable
             ></el-input>
           </el-form-item>

+ 1 - 0
src/modules/question/components/GptQuestionEditDialog.vue

@@ -68,6 +68,7 @@
             v-model="formModel.knowledgeNotes"
             placeholder="请录入知识点补充说明"
             type="textarea"
+            maxlength="30"
             clearable
           ></el-input>
         </el-form-item>