摘要: 阅读全文
posted @ 2022-07-29 14:21 RHCHIK 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-29 10:33 RHCHIK 阅读(13) 评论(0) 推荐(0) 编辑
摘要: // 深拷贝 export function deepClone(obj) { if (obj null) return null if (typeof obj !== 'object') return obj if (obj.constructor Date) return new Date(ob 阅读全文
posted @ 2022-07-29 10:14 RHCHIK 阅读(15) 评论(0) 推荐(0) 编辑
摘要: // 转中文 chinese(type:any){ switch(type) { case 'number': return '数值'; case 'string': return '字符'; case 'option': return '选项'; case '1': return '是'; cas 阅读全文
posted @ 2022-07-29 10:10 RHCHIK 阅读(191) 评论(0) 推荐(0) 编辑