小调整。
parent
092696d2de
commit
129da218f6
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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) {
|
||||||
},
|
},
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue