Browse Source

修改发布时间样式

tags/1.15.0
Caven Chen 4 years ago
parent
commit
cc85189c27
4 changed files with 4 additions and 10 deletions
  1. 1
    1
      dist/dc.base.min.js
  2. 1
    1
      dist/dc.core.min.js
  3. 1
    1
      src/LICENSE.js
  4. 1
    7
      webpack.base.conf.js

+ 1
- 1
dist/dc.base.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/dc.core.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
src/LICENSE.js View File

@@ -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__}

+ 1
- 7
webpack.base.conf.js View File

@@ -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 => {

Loading…
Cancel
Save