代码格式优化,去除多余的引入
This commit is contained in:
@@ -81,7 +81,6 @@
|
||||
}
|
||||
});
|
||||
const secondsToHours = (seconds) => {
|
||||
console.log('typeof seconds', typeof seconds);
|
||||
if (typeof seconds === 'number') {
|
||||
// 转换为小时并保留一位小数
|
||||
return (seconds / 3600).toFixed(1);
|
||||
|
||||
Reference in New Issue
Block a user