Browse Source

fix: 缓存基本信息

develop
song 4 years ago
parent
commit
d160dad18e
  1. 1
      CHANGELOG.md
  2. 4
      src/components/Info/Info.vue

1
CHANGELOG.md

@ -77,6 +77,7 @@
- | 细节调整,添加project-webview | [4d9050b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4d9050b)
- | 绑定手机号 | [52e0352](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/52e0352)
- | 缓存修改 | [63e1f0d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/63e1f0d)
- | 缓存基本信息 | [43bd024](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/43bd024)
- | 获取用户收取那,提交用户信息 | [a3c54f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3c54f1)
- | 角色栏实现 | [94cd671](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/94cd671)
- | 解决bug | [155626c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/155626c)

4
src/components/Info/Info.vue

@ -365,8 +365,8 @@ export default {
this.setDate(this.personalInfo);
this.isEdit = true;
} else {
const info = JSON.parse(this.$t.storage.getStorageSync('infoList'));
if (info) {
const info = this.$t.storage.getStorageSync('infoList');
if (info !== 'null') {
this.infoList = JSON.parse(info);
}
}

Loading…
Cancel
Save