From c63e4f33d5fc1266923da6951cdd001d29bc52e1 Mon Sep 17 00:00:00 2001 From: wsczx Date: Thu, 4 May 2023 23:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E8=AF=81=E4=B9=A6=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=B7=BB=E5=8A=A0=E7=AD=89=E5=BE=85=E6=95=88=E6=9E=9C?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E6=97=A0=E6=B3=95=E5=8F=8A=E6=97=B6?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=90=8E=E7=AB=AF=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/set/Other.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/src/pages/set/Other.vue b/web/src/pages/set/Other.vue index 0574a09..d7375bf 100644 --- a/web/src/pages/set/Other.vue +++ b/web/src/pages/set/Other.vue @@ -544,12 +544,20 @@ export default { }); break; case "letsCert": + var loading = this.$loading({ + lock: true, + text: "证书申请中...", + spinner: "el-icon-loading", + background: "rgba(0, 0, 0, 0.7)", + }); axios.post("/set/other/createcert", this.letsCert).then((resp) => { var rdata = resp.data; console.log(rdata); if (rdata.code === 0) { + loading.close(); this.$message.success(rdata.msg); } else { + loading.close(); this.$message.error(rdata.msg); } });