From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期四, 03 四月 2025 15:58:19 +0800
Subject: [PATCH] 问题与漏洞修改

---
 admin-web/src/views/dashboard/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/admin-web/src/views/dashboard/index.vue b/admin-web/src/views/dashboard/index.vue
index 7a12ff2..c22c2a6 100644
--- a/admin-web/src/views/dashboard/index.vue
+++ b/admin-web/src/views/dashboard/index.vue
@@ -34,7 +34,7 @@
             </el-table-column>
             <el-table-column prop="date" label="鎿嶄綔" fixed="right" align="center" width="80">
               <template slot-scope="scope">
-                <el-button style="padding: 4.5px 15px" @click.native.prevent="aduitThis(scope.row)" size="mini" type="primary">澶勭悊</el-button>
+                <el-button style="padding: 4px 15px" @click.native.prevent="aduitThis(scope.row)" size="mini" type="primary">澶勭悊</el-button>
               </template>
             </el-table-column>
             <el-empty slot="empty" description="鏆傛棤鏁版嵁"></el-empty>
@@ -185,7 +185,10 @@
     this.getAuditList()
     this.getWarningList()
     getGoodsNumPrice().then(res => {
-      this.goodsNumPrice = res
+      if(res){
+        this.goodsNumPrice = res
+      }
+
     })
   },
   methods: {

--
Gitblit v1.9.1