瀏覽代碼

fixed #293

ali 2 年之前
父節點
當前提交
93b5c9486c
共有 1 個文件被更改,包括 0 次插入 和 9 次删除
  1. 0 9
      src/components/Widgets/Test/TestParticipation/components/SingleQuestion.vue

+ 0 - 9
src/components/Widgets/Test/TestParticipation/components/SingleQuestion.vue

@@ -124,15 +124,6 @@ export default {
       FormBuilderAssist.setAttributeByName(this.inputs, 'test_question', 'value', this.testSetQuestion?.id)
     },
     sendAnswer (actionType) {
-      const answerText = FormBuilderAssist.getInputsByName(this.inputs, 'answer_text').value
-      if (!answerText) {
-        this.$q.notify({
-          type: 'negative',
-          message: 'لطفا متن پاسخ را کامل کنید.'
-        })
-        return
-      }
-
       this.$emit('sending')
       this.$refs.entityCreate.createEntity(false)
         .then((response) => {