mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-02-02 18:08:40 +08:00
chore: redundancy code
This commit is contained in:
parent
07c2567751
commit
73ceb2b4ce
@ -22,7 +22,7 @@ export function joinTimestamp(join: boolean, restful = false): string | object {
|
||||
* @description: Format request parameter time
|
||||
*/
|
||||
export function formatRequestDate(params: Recordable) {
|
||||
if (Object.prototype.toString.call(params) !== '[object Object]') {
|
||||
if (!isObject(params)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user