Преглед изворни кода

localstorage添加头像地址

qinzhipeng_v пре 5 година
родитељ
комит
0ba7ca01ba
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/layout/components/Navbar.vue

+ 1 - 0
src/layout/components/Navbar.vue

@@ -125,6 +125,7 @@ export default {
     get_bizArr() {
       memberGetLoginInMemberInfoByLdap().then(res => {
         this.options = res.data
+        localStorage.setItem('UserAvatar', this.options.phoneUrl)
       })
       settingGetBizList({}).then(res => {
         this.sumTypeArray = res.data