NEZ-2090 fix:设置时间显示格式后,自定义查询出错
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
||||
translation (key) {
|
||||
return i18n.t(key)
|
||||
},
|
||||
timeFormatStrToDatePickFormat (str, flag) {
|
||||
timeFormatStrToDatePickFormat (str = localStorage.getItem('nz-default-dateFormat') ? localStorage.getItem('nz-default-dateFormat') : 'YYYY-MM-DD HH:mm:ss', flag) {
|
||||
if (flag) {
|
||||
const reg = /Y/g
|
||||
str = str.replace(reg, 'y')
|
||||
|
||||
Reference in New Issue
Block a user