소스 검색

添加注释

zweizhao 7 년 전
부모
커밋
2f4a15e79b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      components/header.vue

+ 2 - 2
components/header.vue

@@ -176,8 +176,8 @@ export default {
     ...mapMutations(['updateUserinfo']),
     async getUserinfo() {
       let res = await this.$get('/api/user/getInfo')
-      console.log(JSON.stringify(res.data))
-      console.log(res.data)
+      // console.log(JSON.stringify(res.data))
+      // console.log(res.data)
       this.updateUserinfo({
         userinfo: res.data
       })