fangmingyue 2 years ago
parent
commit
e0dd597962
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/dish/list/index.jsx

+ 2
- 1
src/pages/dish/list/index.jsx View File

@@ -38,6 +38,7 @@ const DishList = (props) => {
38 38
     {
39 39
       title: '菜肴单位',
40 40
       dataIndex: 'unit',
41
+      search: false,
41 42
     },
42 43
     {
43 44
       title: '包含食材(种)',
@@ -89,7 +90,7 @@ const DishList = (props) => {
89 90
   return (
90 91
     <PageContainer>
91 92
       <ProTable
92
-        search={false}
93
+        search={true}
93 94
         actionRef={actionRef}
94 95
         rowKey="id"
95 96
         toolBarRender={() => [