mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 19:33:41 +08:00
Merge remote-tracking branch 'origin/upstream/main'
This commit is contained in:
@@ -87,6 +87,8 @@ const EditModal = ({ open, tokenId, onCancel, onOk }) => {
|
||||
useEffect(() => {
|
||||
if (tokenId) {
|
||||
loadToken().then();
|
||||
} else {
|
||||
setInputs({...originInputs});
|
||||
}
|
||||
}, [tokenId]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user