main #48

Merged
longbot merged 6 commits from zhuotianyuan/WEB:main into main 2026-01-23 09:11:58 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 860b7970c8 - Show all commits

View File

@ -1,5 +1,5 @@
import React, { useEffect, useState, useMemo } from 'react';
import { PageContainer, ProFromSelect } from '@ant-design/pro-components';
import { PageContainer, ProFormSelect } from '@ant-design/pro-components';
import { Card, Collapse, Divider, Image, Select, Space, Typography, message } from 'antd';
import { categorycontrollerGetall } from '@/servers/api/category';
import { productcontrollerGetproductlistgrouped } from '@/servers/api/product';
@ -272,7 +272,7 @@ const ProductGroupBy: React.FC = () => {
{categoryAttributes.map(attr => (
<div key={attr.id} style={{ display: 'flex', alignItems: 'center' }}>
<Text style={{ width: '100px' }}>{attr.title}</Text>
<ProFromSelect
<ProFormSelect
placeholder={`请选择${attr.title}`}
style={{ width: 300 }}
value={attributeFilters[attr.name] || null}