fix: Fix for refresh and then delete allowed-address-pair

fix for refresh and then delete allowed-address-pair

Change-Id: I90103a394cbb01c02c31a278f0413c12560752ca
This commit is contained in:
zhuyue 2021-09-01 14:28:09 +08:00
parent b5bb49b077
commit b421f04a3f

View File

@ -23,6 +23,9 @@ import actionConfigs from './actions';
export default class AllowedAddressPair extends Base {
init() {
this.store = globalVirtualAdapterStore;
// because of the father component use new Store
// so set detail to globalStore to share data
this.store.setDetail(this.props.detail);
}
getDownloadData = () => this.props.detail.allowed_address_pairs;