From c3ee22bee042919806d40e66c6a03385f1c5522c Mon Sep 17 00:00:00 2001 From: Romesum Date: Wed, 6 May 2020 16:45:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[fix][V]=EF=BC=9A=E6=96=B0=E5=A2=9Eloading?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- element-vue/src/utils/dialog.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/element-vue/src/utils/dialog.js b/element-vue/src/utils/dialog.js index 5cef464..b8de8ee 100644 --- a/element-vue/src/utils/dialog.js +++ b/element-vue/src/utils/dialog.js @@ -24,3 +24,18 @@ export function showFail(content,that) { message: content }); } + +// 加载 +export function showLoading(content,that) { + return that.$loading({ + lock: true, + text: content, + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }) +} + +// 关闭加载 +export function closeLoading(loading) { + loading.close() +} From e51d44ad1213257fbd60443a010ff4ba74fd6927 Mon Sep 17 00:00:00 2001 From: Romesum Date: Wed, 6 May 2020 16:50:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[fix][V]=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/personalMessage.vue | 77 ++++++++++--------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/element-vue/src/components/personalMessage.vue b/element-vue/src/components/personalMessage.vue index fee9c50..ed174e1 100644 --- a/element-vue/src/components/personalMessage.vue +++ b/element-vue/src/components/personalMessage.vue @@ -5,34 +5,27 @@
- - - - - -
- - - - - - - - - - - - - - - - - - 修改 - 取消 - - -
+ + + + + + + + + + + + + + + + + + 修改 + 取消 + +
@@ -40,7 +33,7 @@