| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-16 11:57:54 |
| | | * @LastEditTime: 2025-05-30 16:51:32 |
| | | * @LastEditTime: 2025-06-23 14:30:22 |
| | | * @LastEditors: lwh |
| | | * @Version: 1.0.0 |
| | | * @Description: 公共模块方法 |
| | |
| | | import { empty } from '@/assets/images'; |
| | | |
| | | export const isDebug = false; // 是否开发环境 |
| | | export const isTest = false; // 是否测试环境 |
| | | export const isTest = true; // 是否测试环境 |
| | | |
| | | export const appUrl = isDebug ? debug : isTest ? test : web; // api |
| | | |
| | |
| | | } |
| | | |
| | | export function myTimeFormat(value, str) { |
| | | return !!value ? moment(value).format(str) : '-'; |
| | | return !!value ? moment.parseZone(value).format(str) : '-'; |
| | | } |
| | | // RangePicker 查询条件时间范围的预设标签 |
| | | export function shortcutsList() { |