From c62192be42c2b5870ca54d3ac800507d20f7019b Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 30 十月 2024 21:54:41 +0800
Subject: [PATCH] 非空提示、学员管理新增学员bug

---
 src/views/exam/paper/edit.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/exam/paper/edit.vue b/src/views/exam/paper/edit.vue
index ff068b0..f02869e 100644
--- a/src/views/exam/paper/edit.vue
+++ b/src/views/exam/paper/edit.vue
@@ -1,16 +1,16 @@
 <template>
   <div class="app-container">
     <el-form :model="form" ref="form" label-width="150px" v-loading="formLoading" :rules="rules">
-      <el-form-item label="璇曞嵎绫诲瀷锛�" prop="paperType" required>
+      <el-form-item label="璇曞嵎绫诲瀷锛�" prop="paperType">
         <el-select v-model="form.paperType" placeholder="璇曞嵎绫诲瀷">
           <el-option v-for="item in paperTypeEnum" :key="item.key" :value="item.key" :label="item.value"></el-option>
         </el-select>
       </el-form-item>
-      <el-form-item label="璇曞嵎鍚嶇О锛�" prop="name" required>
+      <el-form-item label="璇曞嵎鍚嶇О锛�" prop="name">
         <el-input style="width: 300px" v-model="form.name"/>
       </el-form-item>
       <!-- 棰樼洰璇︾粏淇℃伅 -->
-      <el-form-item :key="index" :label="'鏍囬'+(index+1)+'锛�'" required
+      <el-form-item :key="index" :label="'鏍囬'+(index+1)+'锛�'"
                     v-for="(titleItem,index) in form.questionTitleList"
                     v-show="form.paperType===1 || (form.paperType ===3 && form.id)">
         <el-input v-model="titleItem.title" style="width: 50%"/>
@@ -63,7 +63,7 @@
                            v-show="form.deductType === 2 || form.deductType === 3" :min="0"/>
         </div>
       </el-form-item>
-      <el-form-item label="寤鸿鏃堕暱(鍒嗛挓)锛�" prop="suggestTime" required>
+      <el-form-item label="寤鸿鏃堕暱(鍒嗛挓)锛�" prop="suggestTime">
         <el-input-number v-model="form.suggestTime" placeholder="鍒嗛挓" :min="0"/>
       </el-form-item>
       <el-form-item label="鏉冮檺锛�" prop="visibility">

--
Gitblit v1.8.0