瀏覽代碼

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