From 0271aa5414843f662c74a683cfc36f5f799d2a3c Mon Sep 17 00:00:00 2001
From: guxin0123 <guxin0123@gmail.com>
Date: 星期三, 16 三月 2022 12:52:33 +0800
Subject: [PATCH] update ruoyi-ui/src/store/modules/user.js. 修复数据库用户表 头像列为 null 时不显示默认头像问题

---
 ruoyi-ui/src/components/SvgIcon/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/components/SvgIcon/index.vue b/ruoyi-ui/src/components/SvgIcon/index.vue
index 6cd3ab9..340ace4 100644
--- a/ruoyi-ui/src/components/SvgIcon/index.vue
+++ b/ruoyi-ui/src/components/SvgIcon/index.vue
@@ -1,7 +1,7 @@
 <template>
   <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
   <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
-    <use :href="iconName" />
+    <use :xlink:href="iconName" />
   </svg>
 </template>
 

--
Gitblit v1.9.2