fix:【antd】【mall】优化修复 spu-and-sku-list 选择器

pull/282/head
puhui999 2025-11-26 16:34:14 +08:00
parent ea57b64795
commit 0ded54872b
2 changed files with 1 additions and 8 deletions

View File

@ -25,7 +25,6 @@ export function useFormSchema(): VbenFormSchema[] {
},
rules: 'required',
},
// TODO @puhui999商品的选择上面 spuId 可以选择了,下面的 skuId 打开后,没商品。
{
fieldName: 'skuId',
label: '商品规格',

View File

@ -45,13 +45,7 @@ const expandRowKeys = ref<string[]>([]); // 控制展开行需要设置 row-key
function getSkuConfigs(extendedAttribute: string) {
// SKU ref
if (skuListRef.value) {
// TODO @puhui999 linter
try {
skuListRef.value.validateSku();
} catch (error) {
//
throw error;
}
skuListRef.value.validateSku();
}
const seckillProducts: unknown[] = [];
spuPropertyList.value.forEach((item) => {