|
@@ -189,11 +189,10 @@ export default {
|
|
_this.$message.error('更新失败')
|
|
_this.$message.error('更新失败')
|
|
} else if (arg.cmd == 'update-downloaded') {
|
|
} else if (arg.cmd == 'update-downloaded') {
|
|
_this.dialogVisible = false
|
|
_this.dialogVisible = false
|
|
- _this.$confirm({
|
|
|
|
|
|
+ _this.$info({
|
|
title: '版本更新',
|
|
title: '版本更新',
|
|
content: '检测到新版本,是否更新安装',
|
|
content: '检测到新版本,是否更新安装',
|
|
- okText: '确认',
|
|
|
|
- cancelText: '取消',
|
|
|
|
|
|
+ okText: '立即更新',
|
|
onOk () {
|
|
onOk () {
|
|
ipcRenderer.send('isUpdateNow')
|
|
ipcRenderer.send('isUpdateNow')
|
|
}
|
|
}
|