优化初始化以及去掉固定供应商ID
This commit is contained in:
@ -75,8 +75,10 @@ const OtherAttachmentsTab: React.FC<Props> = (props) => {
|
||||
|
||||
//初始化
|
||||
useEffect(() => {
|
||||
getList();
|
||||
}, []);
|
||||
if(record) {
|
||||
getList();
|
||||
}
|
||||
}, [record]);
|
||||
|
||||
|
||||
const columns: ColumnsType<attachmentsAdd> = [
|
||||
|
Reference in New Issue
Block a user