ts const Logs = { /** * 成功 * @param val * @param title */ success(val: any, title?: string) { console.log(`%c ${title || 'success'}: `, 'color: #67C23A; font-weight: bold', val); }, /** * 失败 * @param val * @param title */ error(val: any, ti…
ts const Logs = { /** * 成功 * @param val * @param title */ success(val: any, title?: string) { console.log(`%c ${title || 'success'}: `, 'color: #67C23A; font-weight: bold', val); }, /** * 失败 * @param val * @param title */ error(val: any, ti…