wjx 1 год назад
Родитель
Сommit
3bec127b8a

+ 3 - 2
src/pages/gameDataStatistics/roleOperate/strategy/index.tsx

@@ -93,14 +93,15 @@ const Strategy: React.FC = () => {
                         <Select
                         <Select
                             maxTagCount={1}
                             maxTagCount={1}
                             showSearch
                             showSearch
-                            style={{ minWidth: 140 }}
+                            style={{ width: 140 }}
                             allowClear
                             allowClear
                             placeholder={'请选择策略类型'}
                             placeholder={'请选择策略类型'}
                             filterOption={(input, option) =>
                             filterOption={(input, option) =>
                                 (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                 (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
                             }
                             }
+                            dropdownMatchSelectWidth={false}
                         >
                         >
-                            {strategyType?.map((item: any) => <Select.Option value={item.value} key={item.value}>{item.label}</Select.Option>)}
+                            {strategyType?.map((item: any) => <Select.Option value={item.value} key={item.value}>{item.label}_{item.tips}</Select.Option>)}
                         </Select>
                         </Select>
                     </Form.Item></Col>
                     </Form.Item></Col>
                     <Col>
                     <Col>

+ 4 - 4
src/pages/gameDataStatistics/roleOperate/strategy/tableConfig.tsx

@@ -9,11 +9,11 @@ function columnsPos(editPack: (data: any) => void, del: (id: number) => void) {
 
 
     let newArr: any = [
     let newArr: any = [
         {
         {
-            title: 'ID',
-            dataIndex: 'id',
-            key: 'id',
+            title: '超父游戏ID',
+            dataIndex: 'superGameId',
+            key: 'superGameId',
             align: 'center',
             align: 'center',
-            width: 50
+            width: 60
         },
         },
         {
         {
             title: '超父游戏名称',
             title: '超父游戏名称',