From 4f2e99d36d44d83befa607bc26cf1bf9b0bfcb6f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 10 九月 2025 11:08:35 +0800
Subject: [PATCH] Merge branch 'dev' of http://42.193.1.25:9521/r/lmk-shop-web into dev

---
 manager/src/views/order/order/orderDetail.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 0007005..28bf76a 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -713,7 +713,14 @@
   },
   watch: {
     $route (to, from) {
-      this.$router.go(0);
+      console.log("to:",to.fullPath)
+      console.log("form:",from.fullPath)
+      // 姝g‘鎵撳嵃璺敱瀵硅薄鐨勬柟娉�
+      if(from.fullPath === "/orderList" && to.fullPath.includes("/order-detail")){
+        this.sn = this.$route.query.sn;
+        this.getDataList();
+        this.getOrderPackage();
+      }
     },
   },
   methods: {
@@ -910,6 +917,7 @@
     },
   },
   mounted () {
+    console.log("鍔犺浇鏁版嵁")
     this.sn = this.$route.query.sn;
     this.getDataList();
     this.getOrderPackage();

--
Gitblit v1.8.0