diff --git a/buyer/src/components/header/Header.vue b/buyer/src/components/header/Header.vue index 0d9d27d7..d83050d0 100644 --- a/buyer/src/components/header/Header.vue +++ b/buyer/src/components/header/Header.vue @@ -34,14 +34,18 @@ -
  • 我的订单
  • -
  • 我的足迹
  • +
  • 我的订单
  • +
  • 我的足迹
  • +
  • 我的消息
  • {{cartNum < 100 ? cartNum : '99'}} - + 购物车 @@ -124,19 +128,19 @@ export default { }); window.open(url.href, "_blank"); }, - myInfo() { + myInfo () { // 跳转会员中心 let url = this.$router.resolve({ path: "/home", }); window.open(url.href, "_blank"); }, - signOutFun() { - storage.removeItem("accessToken"); - storage.removeItem("refreshToken"); - storage.removeItem("userInfo"); - storage.removeItem("cartNum"); - this.$store.commit("SET_CARTNUM", 0); - this.$router.push("/login"); + signOutFun () { // 退出登录 + storage.removeItem('accessToken'); + storage.removeItem('refreshToken'); + storage.removeItem('userInfo'); + storage.removeItem('cartNum'); + this.$store.commit('SET_CARTNUM', 0) + this.$router.push('/login'); }, goUserCenter(path) { // 跳转我的订单,我的足迹 diff --git a/buyer/src/components/invoiceModal/index.vue b/buyer/src/components/invoiceModal/index.vue index a746f5e7..e5394fa8 100644 --- a/buyer/src/components/invoiceModal/index.vue +++ b/buyer/src/components/invoiceModal/index.vue @@ -11,37 +11,42 @@ --> @@ -49,29 +54,28 @@