From a47397d8c778bd80684371dff9a944bb3e5ce483 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 22 七月 2025 11:59:09 +0800
Subject: [PATCH] 1.头像未展示bug

---
 src/views/basicData/customerFile/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 385b895..a706616 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -231,7 +231,7 @@
 </template>
 
 <script setup>
-import { ref } from "vue";
+import {onMounted, ref} from "vue";
 import { Search } from "@element-plus/icons-vue";
 import {
   addCustomer,
@@ -591,7 +591,9 @@
   return `${year}-${month}-${day}`;
 }
 
-getList();
+onMounted(() => {
+	getList();
+});
 </script>
 
 <style scoped lang="scss"></style>

--
Gitblit v1.9.3