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 | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/admin-web/src/views/dashboard/index.vue b/admin-web/src/views/dashboard/index.vue index 25a5676..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> @@ -182,11 +182,13 @@ }; }, created() { - console.log(this.userInfo) this.getAuditList() this.getWarningList() getGoodsNumPrice().then(res => { - this.goodsNumPrice = res + if(res){ + this.goodsNumPrice = res + } + }) }, methods: { -- Gitblit v1.9.1