Commit 3f398c3a015ab0aa9030e4f4d1d77ebaddd48153
1 parent
0cf255cc
1
Showing
1 changed file
with
1 additions
and
1 deletions
admin-web-master/src/utils/index.js
| ... | ... | @@ -17,7 +17,7 @@ export function parseTime(time, cFormat) { |
| 17 | 17 | if (typeof time === 'object') { |
| 18 | 18 | date = time |
| 19 | 19 | } else { |
| 20 | - if ((typeof time === 'string')) { | |
| 20 | + if ((typeof time === 'string')) { | |
| 21 | 21 | if ((/^[0-9]+$/.test(time))) { |
| 22 | 22 | // support "1548221490638" |
| 23 | 23 | time = parseInt(time) | ... | ... |