<a-date-picker
v-model:value="formState.applyDate"
:defaultValue="getCurrentData()" :disabled="disable" :showToday="false"
valueFormat="YYYY-MM-DD" format="YYYY-MM-DD"/>
import moment from "moment";
import dayjs from "dayjs";
const getCurrentData = () => {
return new Date().toLocaleDateString();
}
a-date-picker设置默认日期为当前日期
最新推荐文章于 2024-09-03 16:10:34 发布