Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit 8f8e07d

Browse files
author
icymind
committed
wait for refreshInfo to finished before close loading
1 parent 3eb5d33 commit 8f8e07d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderer/components/Manage.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,8 @@ export default {
215215
} else {
216216
await Utils.trafficToVirtualRouter(hostonlyif, hostonlyInfIP, this.vrouter.ip)
217217
}
218+
await this.getSystemInfo()
218219
this.activeLoader = false
219-
// 先关闭loader, 再后台更新infos
220-
this.getSystemInfo()
221220
},
222221
getSystemInfo: async function () {
223222
this.systemInfo.currentGWIP = await Utils.getCurrentGateway()

0 commit comments

Comments
 (0)