fangmingyue 2 年之前
父節點
當前提交
e0dd597962
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/pages/dish/list/index.jsx

+ 2
- 1
src/pages/dish/list/index.jsx 查看文件

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