jwyu hace 3 años
padre
commit
75d705f15c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/components/Comment.vue

+ 5 - 0
src/components/Comment.vue

@@ -109,6 +109,11 @@ const getMyCommnet=async ()=>{
     })
     if(res.code===200){
         myCommentList.value=res.data.list||[]
+        if(res.data.is_show_name==0){
+            msgState.hasNickName=false
+        }else{
+            msgState.hasNickName=true
+        }
     }
 }