常用的工具函数,替代臃肿的lodash 安装 npm install mini-lodash 使用 import { cloneDeep } from 'mini-lodash' 已支持工具函数 cloneDeep:深拷贝 isObject:判断变量是否为对象(不为null)