MY 1 tháng trước cách đây
mục cha
commit
7d121d48fb
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      JLHWEB/src/hooks/useDwLayout.tsx

+ 4 - 0
JLHWEB/src/hooks/useDwLayout.tsx

@@ -355,6 +355,10 @@ export const useDwLayout = (
               </>
             );
           };
+          item.exportMethod = ({ cellValue, row, column }) => {
+            let _val = cellValue;
+            return _val ? "✔" : "✖";
+          };
         } else if (item.enum && item.enum.length) {
           /**普通:enum,数值转文本 */
           item.render = (scope: any) => {