Pārlūkot izejas kodu

修复报表设置穿梭框搜索

code4eat 2 gadi atpakaļ
vecāks
revīzija
9c2b7ef038
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/pages/setting/reportSet/reportSetting/index.tsx

+ 3 - 3
src/pages/setting/reportSet/reportSetting/index.tsx

@@ -2,7 +2,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2023-03-03 11:30:33
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-04-11 15:07:39
+ * @LastEditTime: 2023-04-11 15:47:25
  * @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -374,7 +374,7 @@ const ReportSetting = () => {
                 targetKeys={targetKeys}
                 selectedKeys={selectedKeys}
                 filterOption={(inputValue, item) => {
-                    return item.unitName!.indexOf(inputValue) !== -1
+                    return item.headerText!.indexOf(inputValue) !== -1
 
                 }}
             >
@@ -518,7 +518,7 @@ const ReportSetting = () => {
                             key="del"
                             onConfirm={() => { delData(record.id); getTableData({ reportCode: currentSelectedType.code }); }}
                         >
-                            <a>除</a>
+                            <a>除</a>
                         </Popconfirm>
                     ]
                 },