From b95c767c985efbc35a64e44d41b3e684e84ce7ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=99=E5=90=8C=E5=AD=A6?= <2495967527@qq.com>
Date: Thu, 7 Nov 2024 17:13:34 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=B4=B9=E6=A8=A1=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../logistics-template/index.vue | 73 +++++++++++--------
src/views/modules/product/index.vue | 5 +-
2 files changed, 45 insertions(+), 33 deletions(-)
diff --git a/src/views/modules/logistics-fare/logistics-template/index.vue b/src/views/modules/logistics-fare/logistics-template/index.vue
index b958aa4..fa49791 100644
--- a/src/views/modules/logistics-fare/logistics-template/index.vue
+++ b/src/views/modules/logistics-fare/logistics-template/index.vue
@@ -1,37 +1,42 @@
{path.join("/")}
); + return paths.map((path) =>{path.join("/")}
); }; const appointMapper = { diff --git a/src/views/modules/product/index.vue b/src/views/modules/product/index.vue index 959977d..3e4ff20 100644 --- a/src/views/modules/product/index.vue +++ b/src/views/modules/product/index.vue @@ -100,9 +100,12 @@ export default { }, productFilterType: "SALE", selectList: [], - shopId: sessionStorage.getItem("userInfo").shopId, + shopId: "", }; }, + created() { + this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId; + }, methods: { addProduct() { this.$refs.addOrUpdate.toggle().add();