From fe6dbaaefef6dd9bb4a1ee26df8ad8b451500a10 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 21 五月 2025 09:48:36 +0800
Subject: [PATCH] fix: 修复扫码接口

---
 src/pages/production/list/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/pages/production/list/index.vue b/src/pages/production/list/index.vue
index e64a901..93d3a2e 100644
--- a/src/pages/production/list/index.vue
+++ b/src/pages/production/list/index.vue
@@ -18,6 +18,7 @@
         @click="toDetail(item.id, item.type)"
       />
     </z-paging>
+    <wd-toast />
   </view>
 </template>
 
@@ -26,6 +27,9 @@
 import ProductCard from "@/components/product_card/index.vue";
 import { useUserStore } from "@/store/modules/user";
 import zPaging from "@/components/z-paging/z-paging.vue";
+import { useToast } from "wot-design-uni";
+
+const toast = useToast();
 const userStore = useUserStore();
 const userInfo: any = computed(() => userStore.userInfo);
 const pagingRef = ref();
@@ -51,6 +55,7 @@
 const list = ref<any[]>([]);
 
 const toDetail = (id: number, type: string) => {
+  toast.show("鐐瑰嚮鍗$墖");
   if (type == "鎷変笣") {
     uni.navigateTo({
       url: `/pages/production/detail/wireDetail?id=${id}`,
@@ -95,6 +100,6 @@
 
 <style lang="scss" scoped>
 .card_box {
-  height: calc(100vh - 140px);
+  height: calc(100vh - 120px);
 }
 </style>

--
Gitblit v1.9.3