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