| @@ -310,17 +310,17 @@ export default { | |||
| }); | |||
| }, | |||
| updateData() { | |||
| this.$store.dispatch("getUserInfo").then(() => { | |||
| this.claimDialog = false; | |||
| this.getData(); | |||
| }); | |||
| this.claimDialog = false; | |||
| this.getData(); | |||
| }, | |||
| }, | |||
| //生命周期 - 创建完成(可以访问当前this实例) | |||
| 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元素) | |||
| mounted() { | |||