Преглед на файлове

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