Commit 69311f56 by liimin

修改uitils中的deeoclone导出失败问题

1 parent 90700245
...@@ -26,9 +26,9 @@ class LocalLog { ...@@ -26,9 +26,9 @@ class LocalLog {
// prettier-ignore // prettier-ignore
const fileList = logFiles.reduce((list,{name,path}) => { const fileList = logFiles.reduce((list,{name,path}) => {
const fileDate= +withinSpliter(name.split('.').shift()) const fileDate= +withinSpliter(name.split('.').shift())
// if(fileDate>=beginDate && fileDate<=endDate){ if(fileDate>=beginDate && fileDate<=endDate){
list.push(path) list.push(path)
// } }
return list return list
},[]); },[]);
// console.log('fileList', fileList) // console.log('fileList', fileList)
......
/* /*
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 17:16:46 * @Date: 2024-04-08 17:16:46
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: limin
* @LastEditTime: 2024-09-23 17:40:40 * @LastEditTime: 2024-11-07 15:56:05
* @FilePath: \gl_tape\utils\utils.js * @FilePath: \gl_tape\utils\utils.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -17,7 +17,7 @@ function convertDateTimeFormat(dateTimeStr, separator = '-') { ...@@ -17,7 +17,7 @@ function convertDateTimeFormat(dateTimeStr, separator = '-') {
return `${year}${separator}${month}${separator}${day} ${hours}:${minutes}:${seconds}` return `${year}${separator}${month}${separator}${day} ${hours}:${minutes}:${seconds}`
} }
function deepClone(value) { export function deepClone(value) {
// 排除原始类型的情况,函数时也满足此条件 // 排除原始类型的情况,函数时也满足此条件
if (typeof value !== 'object' || value === null) { if (typeof value !== 'object' || value === null) {
return value return value
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!