huminmin
2 天以前 4a407279f0c9757f0714eaf385fdd5cd68c038c2
src/store/modules/user.js
@@ -52,6 +52,7 @@
      getInfo() {
        return new Promise((resolve, reject) => {
          getInfo().then(res => {
            res  = res.data
            const user = res.user || {}
            let avatar = user.avatar || ""
            avatar = import.meta.env.VITE_APP_BASE_API + '/profile/' + avatar