lilei 3 years ago
parent
commit
6c171ce1b2
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/user/Login.vue

+ 2 - 3
src/views/user/Login.vue

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