typestatusdateslugsummarytagscategoryiconpasswordAI custom autofill将v-model换成:value和on-change事件可解决日期选择器少8小时的问题<FormItem prop="content3"> <DatePicker :value="formData.content3" @on-change="formData.content3=$event" :options="options1" format="yyyy年MM月dd日 HH:mm" type="datetime" placeholder="选择日期和时间" style="width: 200px"></DatePicker> </FormItem> Plain textCopyscriptoptions1: { shortcuts: [ { text: '现在', value () { return new Date() } // onClick: (picker) => { // this.$Message.info('Click today') // } } ] }, Plain textCopy