Sfoglia il codice sorgente

【企业微信】【工资条最后一行不显示问题】

wuyx 1 anno fa
parent
commit
2b53a325a5

+ 12 - 12
uas-office-web/uas-mobile/src/pages/private/salaryQuery/SalaryDetail.jsx

@@ -89,18 +89,18 @@ class SalaryDetail extends Component {
                             editable={false}
                         />
                     </FormLine>
-                );
-                formItems.push(
-                    <FormLine
-                        key={salaryConfig.length} caption={''}>
-                        <InputItem
-                            type='text'
-                            value={''}
-                            editable={false}
-                        />
-                    </FormLine>
-                );
-            })
+                )
+            });
+            formItems.push(
+                <FormLine
+                    key={salaryConfig.length} caption={''}>
+                    <InputItem
+                        type='text'
+                        value={''}
+                        editable={false}
+                    />
+                </FormLine>
+            );
         }
         if (salaryConfig.length == 0) {
             return <div style={{ marginTop: 100 }}>