From 19c028e4292283ebdfae0cf436f23fd00a47eb56 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期六, 18 九月 2021 16:31:54 +0800
Subject: [PATCH] Merge branch 'bhomebus' of http://192.168.5.5:10010/r/vue-smart-ai into bhomebus

---
 src/pages/vindicate/views/restartSettings.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/pages/vindicate/views/restartSettings.vue b/src/pages/vindicate/views/restartSettings.vue
index ff5a60e..d64300b 100644
--- a/src/pages/vindicate/views/restartSettings.vue
+++ b/src/pages/vindicate/views/restartSettings.vue
@@ -107,6 +107,7 @@
       probeSum: 0,
       cronText: "",
       loading:false,
+      loadingText:"",
       cronValueObj: {
         min: "*",
         hour: "*",
@@ -151,7 +152,6 @@
   mounted() {
     this.getRebootCron();
   },
-  beforeDestroy() {},
   methods: {
     resolveExp() {
       // "鍑嗗鍙嶈В鏋�", this.expression;
@@ -195,14 +195,13 @@
       this.$router.push("/");
     },
     restart() {
-      this.$confirm("纭畾瑕侀噸鍚鑺傜偣鍚�?", {
-        center: true,
+      this.$confirm("纭畾瑕侀噸鍚鑺傜偣鍚�?","鎻愮ず", {
+        type:"warning",
         cancelButtonClass: "comfirm-class-cancle",
         confirmButtonClass: "comfirm-class-sure",
       }).then(() => {
         this.loading = true;
         this.loadingText = "鏅鸿兘璁$畻鑺傜偣姝e湪閲嶅惎锛岃鑰愬績绛夊緟..."
-       
         rebootServer()
           .then((rsp) => {
             this.probeServer(this.reLogin);

--
Gitblit v1.8.0