日期格式格式化为年月日 // 格式化2024-12-3为年月日 formatterDate(value){ const reg =/(\d{4})\-(\d{2})\-(\d{2})/; return value.replace(reg,"$1年$2月$3日") }