| @@ -9,7 +9,7 @@ console.clear() | |||
| // eslint-disable-next-line no-console | |||
| console.log( | |||
| `%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n | |||
| 版本:${__VERSION__} - ${__TIME__.substr(0, 10)} | |||
| 版本:${__VERSION__} - ${__TIME__} | |||
| Cesium版本:1.78.0 | |||
| 开发作者:${__AUTHOR__} | |||
| 网站主页: ${__HOME_PAGE__} | |||
| @@ -27,13 +27,7 @@ function getTime() { | |||
| m = m < 10 ? '0' + m : m | |||
| let d = now.getDate() | |||
| d = d < 10 ? '0' + d : d | |||
| let h = now.getHours() | |||
| h = h < 10 ? '0' + h : h | |||
| let min = now.getMinutes() | |||
| min = min < 10 ? '0' + min : min | |||
| let s = now.getSeconds() | |||
| s = s < 10 ? '0' + s : s | |||
| return `${now.getFullYear()}-${m}-${d} ${h}:${min}:${s}` | |||
| return `${now.getFullYear()}-${m}-${d}` | |||
| } | |||
| module.exports = env => { | |||