فهرست منبع

修复不会自动切题的bug

shmily1213 1 ماه پیش
والد
کامیت
df247e091f

+ 5 - 1
src/pagesStudy/pages/start-exam/components/question-item.vue

@@ -73,7 +73,11 @@ const handleNotKnow = () => {
   // emit('notKnow', props.question);
   // nextQuestion?.();
   // handleSelectNotKnow();
-  emit('select', props.question);
+  if (props.isSubQuestion) {
+    emit('select', props.question);
+  } else {
+    changeQuestion();
+  }
 }
 const handleSelect = (option: Study.QuestionOption) => {
   if ([

+ 1 - 1
src/pagesSystem/pages/edit-profile/edit-profile.vue

@@ -80,7 +80,7 @@
 
         <content-card v-if="form.examType === 'OHS' || form.examType === 'SVS'" title="职业技能成绩">
           <uv-form-item label="职业技能" prop="name">
-            <uv-input v-model="scores.skill" border="none" placeholder="请输入" placeholderClass="text-30"
+            <uv-input v-model.number="scores.skill" border="none" placeholder="请输入" placeholderClass="text-30"
               font-size="30rpx" :custom-style="customStyle">
             </uv-input>
           </uv-form-item>