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

Feature/task1.0.0

See merge request yanxuan-frontend/shop-pc!77
merge-requests/79/merge
肖广 3 years ago
commit 21c967e12a

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

Loading…
Cancel
Save