mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-29 18:28:09 +08:00
fix: init error
This commit is contained in:
parent
2a6dc8a0e7
commit
0e32e467cc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user