lilei 3 年之前
父節點
當前提交
6c171ce1b2
共有 1 個文件被更改,包括 2 次插入3 次删除
  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')
             }