[update] 修改bug80404

This commit is contained in:
lideqin
2024-01-09 16:02:44 +08:00
parent 5e509eacb1
commit 6a4558965e
3 changed files with 6 additions and 6 deletions
@@ -75,6 +75,7 @@
import { submitDomesticQuestion, submitOverseasQuestion } from '../../../../api/standardRegulationLibraryApi.js'
import { getCarTypeProjectList } from '../../../../api/projectLibraryApi.js'
import { StandardSource } from '../../../../enums/commonEnums.js'
import moment from 'moment'
export default {
name: 'SubmitQuestionModal',
@@ -141,8 +142,7 @@ export default {
this.type = type
const param = {}
param.standardNumber = standardNumber
param.quizTime = new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDay() + ' ' +
new Date().getHours() + ':' + new Date().getMinutes() + ':' + new Date().getSeconds()
param.quizTime = moment().format('YYYY-MM-DD HH:mm:ss')
this.$nextTick(() => {
this.form.setFieldsValue(param)
})