@ -207,14 +207,14 @@ module.exports = {
'*china*': true,
'dingtalk.com': true,
'*.dingtalk.com': true,
'qq.com': true,
'*.qq.com': true,
'apple.com': true,
'*.apple.com': true,
'microsoft.com': true,
'*.microsoft.com': true,
'alipay.com': true,
'*.alipay.com': true,
'baidu.com': true,
'*.baidu.com': true
},
@ -27,7 +27,7 @@ export function apiInit (app) {
invoke,
send,
async openExternal (href) {
shell.openExternal(href)
await shell.openExternal(href)
openPath (file) {
shell.openPath(file)
@ -74,7 +74,7 @@ export default {
methods: {
async openExternal (url) {
this.$api.ipc.openExternal(url)
await this.$api.ipc.openExternal(url)
afterVisibleChange (val) {
@ -334,7 +334,7 @@ export default {
this.$api.update.checkForUpdate(fromUser)
onShutdownTipClose (e) {
this.$confirm({
@ -106,7 +106,7 @@ export default {
async applyAfter () {
if (this.status.server.enabled) {
@ -94,7 +94,7 @@ export default {
onAutoStartChange () {
this.$api.autoStart.enabled(this.config.app.autoStart.enabled)