1
This commit is contained in:
parent
5b938f3977
commit
9a36a18958
@ -101,11 +101,12 @@ function init() {
|
|||||||
jsonData.forEach((item) => {
|
jsonData.forEach((item) => {
|
||||||
if (item['instance_id'] == app.getInstanceId()) {
|
if (item['instance_id'] == app.getInstanceId()) {
|
||||||
item['nets'].forEach((netId) => {
|
item['nets'].forEach((netId) => {
|
||||||
registerMetaClass(configDir + 'web3.json',
|
const netDir = configDir + 'nets/' + netId + '/';
|
||||||
|
registerMetaClass(netDir + 'web3.json',
|
||||||
'',
|
'',
|
||||||
'Web3'
|
'Web3'
|
||||||
);
|
);
|
||||||
registerMetaClass(configDir + 'contract.json',
|
registerMetaClass(netDir + 'contract.json',
|
||||||
'name',
|
'name',
|
||||||
'Contract'
|
'Contract'
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user