From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化

---
 src/views/article/components/publicSignUpChild.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/article/components/publicSignUpChild.vue b/src/views/article/components/publicSignUpChild.vue
index e54a0de..68dfb45 100644
--- a/src/views/article/components/publicSignUpChild.vue
+++ b/src/views/article/components/publicSignUpChild.vue
@@ -1,5 +1,4 @@
 <template>
-
   <div>
     <el-dialog title="" append-to-body :visible.sync="dialogVisiblesUser" width="80%" :before-close="userHandleClose">
       <avue-crud ref="DataUser" :option="userOption" :data="dataUser" v-model="dataUser" :page="pageUser"
@@ -124,7 +123,7 @@
           calcHeight: 54,
           dialogWidth: 950,
           tip: false,
-          border: false,
+          border: true,
           //stripe:true,
           index: true,
           editBtn: false,
@@ -134,6 +133,7 @@
           delBtn: false,
           excelBtn: true,
           dialogClickModal: false,
+          header: false,
           column: [{
               label: '姓名',
               prop: 'name',
@@ -207,8 +207,9 @@
           this.pageUser.total = data.total
           this.dataUser = data.records
           this.dataUser.forEach(item => {
-            if (item.avatar.length > 0) {
+            if (item.avatar) {
               item.avatar = website.minioUrl + item.avatar
+              console.log("=avatar====>", item.avatar)
             }
             if (item.signaturePath && item.signaturePath.length > 0) {
               item.signaturePath = website.minioUrl + item.signaturePath

--
Gitblit v1.9.3