feat(weibo): 优化外部单协作建单界面

This commit is contained in:
yml2213
2026-11-08 14:53:27 +08:00
parent 0285fc80bb
commit a927be36f2
2 changed files with 167 additions and 84 deletions
@@ -4,6 +4,7 @@ import { PlusOutlined } from '@ant-design/icons';
import type { HuyaCollabShop } from '../api/modules';
const { Text } = Typography;
type ShopOption = Pick<HuyaCollabShop, 'name' | 'is_active'>;
/**
* 店铺选择器:**一个店铺一个独立按钮**(中间留白),不做下拉。
@@ -27,7 +28,7 @@ export default function HuyaCollabShopPicker({
onChange,
}: {
value?: string | null;
shops: HuyaCollabShop[];
shops: ShopOption[];
disabled?: boolean;
includeInactive?: boolean;
allowCustom?: boolean;