From 8a6337b9bee4a21ad673e7ce7635f023e51761e8 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 20 Apr 2023 14:38:50 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2789=20fix=EF=BC=9Aterminal=E5=AE=A1?= =?UTF-8?q?=E8=AE=A1=E6=97=A5=E5=BF=97command=E9=A1=B5=E9=9D=A2=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/permission.js b/nezha-fronted/src/permission.js index 9f67a7941..88ae3cfd8 100644 --- a/nezha-fronted/src/permission.js +++ b/nezha-fronted/src/permission.js @@ -33,7 +33,7 @@ router.beforeEach((to, from, next) => { localStorage.setItem('nz-sys-timezone', res.data.timezone || '') localStorage.setItem('nz-sys-bgImg', res.data.system_bgImg || '') localStorage.setItem('nz-default-theme', res.data.theme || '') - localStorage.setItem('nz-default-dateFormat', res.data.dateFormat || '') + localStorage.setItem('nz-default-dateFormat', res.data.dateFormat || 'YYYY-MM-DD HH:mm:ss') changeFavicon(res.data.system_favicon) } resolve()