fix: init error

This commit is contained in:
scarqin 2022-11-02 11:04:57 +08:00
parent 2a6dc8a0e7
commit 0e32e467cc

View File

@ -39,7 +39,9 @@ export class WebService {
private settingService: SettingService,
private electronService: ElectronService
) {
this.settingService.putSettings({'eoapi-common.remoteServer.url':window.location.origin});
if (this.isWeb) {
this.settingService.putSettings({ 'eoapi-common.remoteServer.url': window.location.origin });
}
this.getClientResource();
}
private findLinkInSingleAssets(assets, item) {