王露 3 лет назад
Родитель
Сommit
4628691c95
1 измененных файлов: 7 добавлений и 7 удалений
  1. 7
    7
      digital-park-web/digital-park/src/views/park-enterprises/Detail.vue

+ 7
- 7
digital-park-web/digital-park/src/views/park-enterprises/Detail.vue Просмотреть файл

}); });
}, },
updateData() { updateData() {
this.$store.dispatch("getUserInfo").then(() => {
this.claimDialog = false;
this.getData();
});
this.claimDialog = false;
this.getData();
}, },
}, },
//生命周期 - 创建完成(可以访问当前this实例) //生命周期 - 创建完成(可以访问当前this实例)
created() { created() {
this.canEdit = this.$route.query.canEdit;
this.companyId = this.$route.query.companyId;
this.getData();
this.$store.dispatch("getUserInfo").then(() => {
this.canEdit = this.$route.query.canEdit;
this.companyId = this.$route.query.companyId;
this.getData();
});
}, },
//生命周期 - 挂载完成(可以访问DOM元素) //生命周期 - 挂载完成(可以访问DOM元素)
mounted() { mounted() {

Загрузка…
Отмена
Сохранить