manager/src/utils/filters.js
@@ -214,6 +214,14 @@ return mobile.replace(/(\d{3})(\d{4})(\d{4})/, '$1****$3') } /** * 日期格式化辅助函数 * @param {string} str * @returns */ function padLeftZero(str) { return ('00' + str).substr(str.length); } export function formatDate(date, fmt) { if (/(y+)/.test(fmt)) {