Преглед на файлове

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