From 613279703a7a4514e76620fac88951ef005bdcaf Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 26 一月 2022 16:10:04 +0800
Subject: [PATCH] 解开btn加入集群
---
src/pages/settings/views/clusterManagement.vue | 52 ++++++++++++++++++++++++++--------------------------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/pages/settings/views/clusterManagement.vue b/src/pages/settings/views/clusterManagement.vue
index 00813e0..d13ad38 100644
--- a/src/pages/settings/views/clusterManagement.vue
+++ b/src/pages/settings/views/clusterManagement.vue
@@ -562,33 +562,33 @@
cancelButtonText: "鍙栨秷",
customClass: "del-account-message-box",
}).then(
- () => {
- this.showCurCluster = false;
- }
- // async () => {
- // let res = await leave();
- // this.$notify({
- // title: res.success ? "鎴愬姛" : "澶辫触",
- // message: res.msg,
- // type: res.success ? "success" : "error",
- // });
- // if (res && res.success) {
- // clearInterval(this.intervalTimer);
- // this.showCurCluster = false;
- // this.ruleForm.virtualIp = "";
- // this.ruleForm.clustername = "";
- // this.ruleForm.clusterpwd = "";
- // this.clusterid = "";
- // }
- // },
- // (err) => {
- // clearInterval(this.intervalTimer);
+ // () => {
// this.showCurCluster = false;
- // this.ruleForm.virtualIp = "";
- // this.ruleForm.clustername = "";
- // this.ruleForm.clusterpwd = "";
- // this.clusterid = "";
// }
+ async () => {
+ let res = await leave();
+ this.$notify({
+ title: res.success ? "鎴愬姛" : "澶辫触",
+ message: res.msg,
+ type: res.success ? "success" : "error",
+ });
+ if (res && res.success) {
+ clearInterval(this.intervalTimer);
+ this.showCurCluster = false;
+ this.ruleForm.virtualIp = "";
+ this.ruleForm.clustername = "";
+ this.ruleForm.clusterpwd = "";
+ this.clusterid = "";
+ }
+ },
+ (err) => {
+ clearInterval(this.intervalTimer);
+ this.showCurCluster = false;
+ this.ruleForm.virtualIp = "";
+ this.ruleForm.clustername = "";
+ this.ruleForm.clusterpwd = "";
+ this.clusterid = "";
+ }
);
},
clearInput(typ) {
@@ -903,7 +903,7 @@
left: 20px;
}
.el-form-item {
- margin-bottom: 10px;
+ margin-bottom: 16px;
.el-input__inner {
background-color: #ffffff;
border: 2px solid transparent;
--
Gitblit v1.8.0