mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-10-24 11:22:06 +00:00
remove all semicolons
This commit is contained in:
@@ -4,7 +4,7 @@ import { parseTime } from './ruoyi'
|
||||
* 表格时间格式化
|
||||
*/
|
||||
export function formatDate(cellValue) {
|
||||
if (cellValue == null || cellValue == "") return "";
|
||||
if (cellValue == null || cellValue == "") return ""
|
||||
var date = new Date(cellValue)
|
||||
var year = date.getFullYear()
|
||||
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
|
||||
|
||||
Reference in New Issue
Block a user