Procházet zdrojové kódy

[Fix 0000] 可配置首页formatter错误修复

houzekong před 1 týdnem
rodič
revize
e6d8ee1fd1

+ 2 - 1
src/views/vent/home/configurable/hooks/helper.ts

@@ -1,4 +1,5 @@
-import { get, isEmpty, isNil } from 'lodash-es';
+import { get, isNil } from 'lodash-es';
+import { isEmpty } from '/@/utils/is';
 
 /** 根据配置中的 formatter 将文本格式并返回 */
 export function getFormattedText(data: any, formatter: string, trans?: Record<string, string>, defaultValue?: any): string {