From bc654c9d45c236ff51f72aaf734430cdcfe96d88 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 21 Dec 2025 21:24:59 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E3=80=90ele=E3=80=91=E3=80=90mall?= =?UTF-8?q?=E3=80=91=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E7=9A=84=E2=80=9C?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB=E2=80=9D=E4=B8=8D=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=20https://t.zsxq.com/JCOWV?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-ele/src/views/mall/product/spu/data.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web-ele/src/views/mall/product/spu/data.ts b/apps/web-ele/src/views/mall/product/spu/data.ts index 7b60e836b..f26dc8e43 100644 --- a/apps/web-ele/src/views/mall/product/spu/data.ts +++ b/apps/web-ele/src/views/mall/product/spu/data.ts @@ -32,7 +32,9 @@ export function useGridFormSchema(): VbenFormSchema[] { componentProps: { placeholder: '请选择商品分类', clearable: true, - options: categoryList, + api: async () => { + return categoryList; + }, labelField: 'name', valueField: 'id', childrenField: 'children',