xieyonghong 3 лет назад
Родитель
Сommit
8e16b5f371
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/components/BaseCrud/index.tsx
  2. 1 1
      src/components/ProTableCard/index.tsx

+ 1 - 1
src/components/BaseCrud/index.tsx

@@ -97,7 +97,7 @@ const BaseCrud = <T extends Record<string, any>>(props: Props<T>) => {
           actionRef={actionRef}
           scroll={scroll}
           columnEmptyText={''}
-          options={{ fullScreen: true }}
+          options={{ fullScreen: false }}
           request={
             request ||
             (async (params = {}) =>

+ 1 - 1
src/components/ProTableCard/index.tsx

@@ -174,7 +174,7 @@ const ProTableCard = <
         }
         columnEmptyText={''}
         className={'pro-table-card-body'}
-        options={model === ModelEnum.CARD ? false : props.options}
+        options={model === ModelEnum.CARD ? false : { ...props.options, fullScreen: false }}
         request={async (param, sort, filter) => {
           if (request) {
             const resp = await request(param, sort, filter);