mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
修改应用exe编译环境Win32->x64
This commit is contained in:
@@ -253,6 +253,15 @@ var G = {
|
||||
|
||||
const elemtParent = document.getElementById('alertBox')
|
||||
if (elemtParent) { elemtParent.append(wrapper); }
|
||||
},
|
||||
|
||||
dateStr() {
|
||||
const now = new Date();
|
||||
var dtStr = now.toLocaleString('zh-CN',
|
||||
{
|
||||
hour12: false, year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit'
|
||||
}).replace(/\//g, '-')
|
||||
return dtStr
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user