小调整。
							parent
							
								
									092696d2de
								
							
						
					
					
						commit
						129da218f6
					
				|  | @ -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, | ||||
|       'qq.com': true, | ||||
|       '*.qq.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) | ||||
|     }, | ||||
|     async openExternal (url) { | ||||
|       this.$api.ipc.openExternal(url) | ||||
|       await this.$api.ipc.openExternal(url) | ||||
|     }, | ||||
|     onShutdownTipClose (e) { | ||||
|       this.$confirm({ | ||||
|  |  | |||
|  | @ -106,7 +106,7 @@ export default { | |||
|   }, | ||||
|   methods: { | ||||
|     async openExternal (url) { | ||||
|       this.$api.ipc.openExternal(url) | ||||
|       await this.$api.ipc.openExternal(url) | ||||
|     }, | ||||
|     async applyAfter () { | ||||
|       if (this.status.server.enabled) { | ||||
|  |  | |||
|  | @ -94,7 +94,7 @@ export default { | |||
|   }, | ||||
|   methods: { | ||||
|     async openExternal (url) { | ||||
|       this.$api.ipc.openExternal(url) | ||||
|       await this.$api.ipc.openExternal(url) | ||||
|     }, | ||||
|     onAutoStartChange () { | ||||
|       this.$api.autoStart.enabled(this.config.app.autoStart.enabled) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 王良
						王良