From c0400d5e419b8adee1f495b6e011f74f4cd3b716 Mon Sep 17 00:00:00 2001 From: xusd <330628789@qq.com> Date: Fri, 04 Jul 2025 17:18:44 +0800 Subject: [PATCH] fix:时间转换修正 --- src/utils/utility.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/utility.js b/src/utils/utility.js index 332318e..5abc218 100644 --- a/src/utils/utility.js +++ b/src/utils/utility.js @@ -2,7 +2,7 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-02-16 11:57:54 - * @LastEditTime: 2025-06-10 17:40:29 + * @LastEditTime: 2025-06-23 14:30:22 * @LastEditors: lwh * @Version: 1.0.0 * @Description: 公共模块方法 @@ -17,7 +17,7 @@ import { pdf, jpg, file, word, excel } from '../assets/images/icon'; import { empty } from '@/assets/images'; -export const isDebug = true; // 是否开发环境 +export const isDebug = false; // 是否开发环境 export const isTest = true; // 是否测试环境 export const appUrl = isDebug ? debug : isTest ? test : web; // api @@ -243,7 +243,7 @@ } export function myTimeFormat(value, str) { - return !!value ? moment(value).format(str) : '-'; + return !!value ? moment.parseZone(value).format(str) : '-'; } // RangePicker 查询条件时间范围的预设标签 export function shortcutsList() { -- Gitblit v1.8.0