浏览代码

添加注释

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
       })