小调整。

pull/274/head
王良 2024-02-22 01:58:11 +08:00
parent 092696d2de
commit 129da218f6
6 changed files with 7 additions and 7 deletions

View File

@ -207,14 +207,14 @@ module.exports = {
'*china*': true, '*china*': true,
'dingtalk.com': true, 'dingtalk.com': true,
'*.dingtalk.com': true, '*.dingtalk.com': true,
'qq.com': true,
'*.qq.com': true,
'apple.com': true, 'apple.com': true,
'*.apple.com': true, '*.apple.com': true,
'microsoft.com': true, 'microsoft.com': true,
'*.microsoft.com': true, '*.microsoft.com': true,
'alipay.com': true, 'alipay.com': true,
'*.alipay.com': true, '*.alipay.com': true,
'qq.com': true,
'*.qq.com': true,
'baidu.com': true, 'baidu.com': true,
'*.baidu.com': true '*.baidu.com': true
}, },

View File

@ -27,7 +27,7 @@ export function apiInit (app) {
invoke, invoke,
send, send,
async openExternal (href) { async openExternal (href) {
shell.openExternal(href) await shell.openExternal(href)
}, },
openPath (file) { openPath (file) {
shell.openPath(file) shell.openPath(file)

View File

@ -74,7 +74,7 @@ export default {
}, },
methods: { methods: {
async openExternal (url) { async openExternal (url) {
this.$api.ipc.openExternal(url) await this.$api.ipc.openExternal(url)
}, },
afterVisibleChange (val) { afterVisibleChange (val) {
}, },

View File

@ -334,7 +334,7 @@ export default {
this.$api.update.checkForUpdate(fromUser) this.$api.update.checkForUpdate(fromUser)
}, },
async openExternal (url) { async openExternal (url) {
this.$api.ipc.openExternal(url) await this.$api.ipc.openExternal(url)
}, },
onShutdownTipClose (e) { onShutdownTipClose (e) {
this.$confirm({ this.$confirm({

View File

@ -106,7 +106,7 @@ export default {
}, },
methods: { methods: {
async openExternal (url) { async openExternal (url) {
this.$api.ipc.openExternal(url) await this.$api.ipc.openExternal(url)
}, },
async applyAfter () { async applyAfter () {
if (this.status.server.enabled) { if (this.status.server.enabled) {

View File

@ -94,7 +94,7 @@ export default {
}, },
methods: { methods: {
async openExternal (url) { async openExternal (url) {
this.$api.ipc.openExternal(url) await this.$api.ipc.openExternal(url)
}, },
onAutoStartChange () { onAutoStartChange () {
this.$api.autoStart.enabled(this.config.app.autoStart.enabled) this.$api.autoStart.enabled(this.config.app.autoStart.enabled)