feat:【antd】mp/statistics 的代码迁移

This commit is contained in:
YunaiV
2025-10-25 14:33:16 +08:00
parent 080b57af07
commit 82e524076c
3 changed files with 29 additions and 29 deletions

View File

@@ -5,6 +5,7 @@ import { beginOfDay, endOfDay, formatDateTime } from '@vben/utils';
import { getSimpleAccountList } from '#/api/mp/account';
/** 关联数据 */
let accountList: MpAccountApi.AccountSimple[] = [];
getSimpleAccountList().then((data) => (accountList = data));
@@ -14,7 +15,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
{
fieldName: 'accountId',
label: '公众号',
component: 'Select',
component: 'ApiSelect',
componentProps: {
options: accountList.map((item) => ({
label: item.name,