Explorar o código

fix: bug#7707

xieyonghong %!s(int64=3) %!d(string=hai) anos
pai
achega
8e16b5f371
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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);