feat:【antd/ele】对齐两侧的代码
This commit is contained in:
@@ -38,9 +38,9 @@ export function getChartOptions(activeTabName: any, res: any): any {
|
|||||||
name: item.time,
|
name: item.time,
|
||||||
value: item.customerCreateCount
|
value: item.customerCreateCount
|
||||||
? (
|
? (
|
||||||
(item.customerDealCount / item.customerCreateCount) *
|
(item.customerDealCount / item.customerCreateCount) *
|
||||||
100
|
100
|
||||||
).toFixed(2)
|
).toFixed(2)
|
||||||
: 0,
|
: 0,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -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