Parcourir la source

修改data类型

tianyunperfect il y a 5 ans
Parent
commit
f546e4591e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = '';
         }