fixbug: 修复bug1239

merge-requests/76/head
xiaoguang 3 years ago
parent 32d3dd5938
commit ab41262326

@ -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