供应商信息,默认取登录用户ID

This commit is contained in:
孙景学
2025-07-11 15:12:20 +08:00
parent 2457dfb6f3
commit 2f85e2a97e
10 changed files with 20 additions and 10 deletions

View File

@ -22,7 +22,8 @@ interface Props {
record?: string;
}
const OtherAttachmentsTab: React.FC<Props> = (props) => {
const { viewType = false, record = '' } = props;
const userId = sessionStorage.getItem('userId') || '';
const { viewType = false, record = userId } = props;
//语言切换
const intl = useIntl();
//列表渲染数据