feat:【antd/ele】对齐两侧的代码
This commit is contained in:
@@ -7,6 +7,7 @@ import { provide, ref } from 'vue';
|
|||||||
import { useAccess } from '@vben/access';
|
import { useAccess } from '@vben/access';
|
||||||
import { confirm, DocAlert, Page } from '@vben/common-ui';
|
import { confirm, DocAlert, Page } from '@vben/common-ui';
|
||||||
import { IconifyIcon } from '@vben/icons';
|
import { IconifyIcon } from '@vben/icons';
|
||||||
|
import { $t } from '@vben/locales';
|
||||||
|
|
||||||
import { Button, message, Tabs } from 'ant-design-vue';
|
import { Button, message, Tabs } from 'ant-design-vue';
|
||||||
|
|
||||||
@@ -23,7 +24,6 @@ import {
|
|||||||
import { UploadType } from './modules/upload';
|
import { UploadType } from './modules/upload';
|
||||||
import UploadFile from './modules/UploadFile.vue';
|
import UploadFile from './modules/UploadFile.vue';
|
||||||
import UploadVideo from './modules/UploadVideo.vue';
|
import UploadVideo from './modules/UploadVideo.vue';
|
||||||
import {$t} from '@vben/locales';
|
|
||||||
|
|
||||||
defineOptions({ name: 'MpMaterial' });
|
defineOptions({ name: 'MpMaterial' });
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ async function onTabChange() {
|
|||||||
},
|
},
|
||||||
cellConfig: {
|
cellConfig: {
|
||||||
height: type.value === UploadType.Image ? 220 : undefined,
|
height: type.value === UploadType.Image ? 220 : undefined,
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
await gridApi.reload();
|
await gridApi.reload();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user