封装供应商弹框详情组件

This commit is contained in:
linxd
2025-07-15 16:58:54 +08:00
parent 14c6dd9040
commit afeb2fb899
9 changed files with 95 additions and 55 deletions

View File

@ -0,0 +1,3 @@
// 任何页面/组件
const showSupplierDetail = useSupplierDetailModal();
<span onClick={() => showSupplierDetail(supplier.id)}>{supplier.name}</span>