From 24768b0ab6231de0a0e43ef6d1b36a6e9c1b33ae Mon Sep 17 00:00:00 2001
From: futian.liu <liufutianyoo@163.com>
Date: 星期三, 20 十二月 2023 17:10:21 +0800
Subject: [PATCH] 页面上传文件格式限制

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

diff --git a/admin-web/src/views/dashboard/index.vue b/admin-web/src/views/dashboard/index.vue
index eb6551d..c22c2a6 100644
--- a/admin-web/src/views/dashboard/index.vue
+++ b/admin-web/src/views/dashboard/index.vue
@@ -185,7 +185,10 @@
     this.getAuditList()
     this.getWarningList()
     getGoodsNumPrice().then(res => {
-      this.goodsNumPrice = res
+      if(res){
+        this.goodsNumPrice = res
+      }
+
     })
   },
   methods: {

--
Gitblit v1.9.1