소스 검색

修改data类型

tianyunperfect 5 년 전
부모
커밋
f546e4591e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/ServiceList/index.tsx

+ 1 - 1
src/pages/ServiceList/index.tsx

@@ -88,7 +88,7 @@ const TableList: React.FC<{}> = () => {
       valueType: 'text',
       width: 200,
       render: (text, row) => {
-        if (!row.msg) {
+        if (!text) {
           row.msg = '';
         }