Merge branch 'feature/task1.0.0_xg' into 'feature/task1.0.0'

fixbug: 修复bug1239

See merge request yanxuan-frontend/shop-pc!76
merge-requests/77/head
肖广 3 years ago
commit 5dfb2871b9

@ -92,8 +92,17 @@ export default {
computed: { computed: {
...mapState(["userInfo", "token"]), ...mapState(["userInfo", "token"]),
}, },
created() { watch: {
userInfo: {
deep: true,
handler(val) {
if (val && Object.keys(val).length > 0) {
this.initData(); this.initData();
}
},
},
},
created() {
this.getOssConfig(); this.getOssConfig();
}, },
methods: { methods: {

Loading…
Cancel
Save