From 8d96a3c10667b6a180a813b41cb23bcac87a3389 Mon Sep 17 00:00:00 2001 From: paulGao Date: Wed, 17 Nov 2021 16:39:24 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/Main.vue | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/manager/src/views/Main.vue b/manager/src/views/Main.vue index 6198d1df..984433c6 100644 --- a/manager/src/views/Main.vue +++ b/manager/src/views/Main.vue @@ -13,23 +13,32 @@
-
+
-
{{ userInfo.nickName }} - +
- {{ $t('userCenter') }} - {{ $t('changePass') }} - {{ $t('logout') }} + {{ + $t("userCenter") + }} + {{ $t("changePass") }} + {{ $t("logout") }}
@@ -60,7 +69,7 @@ import messageTip from "./main-components/message-tip.vue"; import circleLoading from "@/views/my-components/lili/circle-loading.vue"; import Cookies from "js-cookie"; import util from "@/libs/util.js"; -import { getNoticePage,logout } from "@/api/index"; +import { getNoticePage, logout } from "@/api/index"; var client; export default { @@ -90,7 +99,7 @@ export default { }, lang() { return this.$store.state.app.lang; - } + }, }, methods: { @@ -131,13 +140,13 @@ export default { } // 退出登录 else if (name === "loginOut") { - logout().then(res => { + logout().then((res) => { this.$store.commit("logout", this); - this.$store.commit('setAdded', false); + this.$store.commit("setAdded", false); this.setStore("accessToken", ""); this.setStore("refreshToken", ""); this.$router.push({ path: "/login" }); - }) + }); } }, //切换标签 @@ -149,12 +158,7 @@ export default { }); if (!openpageHasTag) { // 解决关闭当前标签后再点击回退按钮会退到当前页时没有标签的问题 - util.openNewPage( - this, - name, - this.$route.params || {}, - this.$route.query || {} - ); + util.openNewPage(this, name, this.$route.params || {}, this.$route.query || {}); } }, //宽度动态计算 From ccd5decbf794e71f6826e22d086838b4027181d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 18 Nov 2021 14:51:44 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A5=BC=E5=B1=82?= =?UTF-8?q?=E8=A3=85=E4=BF=AE=20pc=E7=AB=AF=E4=B8=AD=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E5=9B=A0=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=AF=BC=E8=87=B4=E7=9A=84=E6=8A=A5=E9=94=99=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/lili-floor-renovation/floorList.vue | 2 +- .../views/lili-floor-renovation/modelForm.vue | 16 ++++++++-------- .../lili-floor-renovation/modelFormItem.vue | 13 +++++-------- .../lili-floor-renovation/modelList/carousel.vue | 8 ++++---- .../modelList/carousel1.vue | 8 ++++---- .../modelList/carousel2.vue | 6 +++--- .../modelList/firstPageAdvert.vue | 8 ++++---- .../modelList/newGoodsSort.vue | 12 ++++++------ .../modelList/notEnough.vue | 4 +--- .../modelList/recommend.vue | 12 ++++++------ .../views/lili-floor-renovation/renovation.vue | 2 +- 11 files changed, 43 insertions(+), 48 deletions(-) diff --git a/manager/src/views/lili-floor-renovation/floorList.vue b/manager/src/views/lili-floor-renovation/floorList.vue index 6962304e..560cf3b7 100644 --- a/manager/src/views/lili-floor-renovation/floorList.vue +++ b/manager/src/views/lili-floor-renovation/floorList.vue @@ -42,7 +42,7 @@ width="600" :z-index="100" :loading="loading" - mask-closable="false" + :mask-closable="false" @on-ok="newTemplate" @on-cancel="showModal = false" > diff --git a/manager/src/views/lili-floor-renovation/modelForm.vue b/manager/src/views/lili-floor-renovation/modelForm.vue index 28cf7967..40da5323 100644 --- a/manager/src/views/lili-floor-renovation/modelForm.vue +++ b/manager/src/views/lili-floor-renovation/modelForm.vue @@ -22,7 +22,7 @@
@@ -58,9 +58,9 @@ draggable width="800" :z-index="100" - mask-closable="false" - :on-ok="sureDecorate" - :on-cancel="cancelDecorate" + :mask-closable="false" + + >