Explorar el Código

feat: 驿站人员获取头像ID判断

zhangying hace 11 meses
padre
commit
28796300b6
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      vue/src/views/baseSettings/siteUser/detail.vue

+ 3 - 0
vue/src/views/baseSettings/siteUser/detail.vue

@@ -94,6 +94,9 @@ function loadData(siteUserID: string) {
 
 // 获取头像
 function getAvtImag(fileRefID) {
+  if (!fileRefID) {
+    return;
+  }
   getList({fileRefID}).then((res) => {
     if (!res) {
       avtImageUrl.value = false;