wgl 4 vuotta sitten
vanhempi
commit
021a69046c

+ 4 - 0
src/projects/business/views/HouseKeeper/Admin/Person/Device.vue

@@ -61,6 +61,9 @@
 			}
 		},
 		created() {
+			if (this.add_person_data) {
+				this.subForm = this.add_person_data;
+			}
 			if (!this.subForm.name || !this.subForm.phone || !this.subForm.faceImageUrl) {
 				this.$router.push({
 					name: 'HouseKeeperAdminPersonAdd',
@@ -124,6 +127,7 @@
 			...mapGetters({
 				openId: 'wx_openid',
 				token: 'token',
+				add_person_data: 'add_person_data'
 			})
 		}
 	}