瀏覽代碼

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

houzekong 1 周之前
父節點
當前提交
e6d8ee1fd1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/vent/home/configurable/hooks/helper.ts

+ 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 {