소스 검색

问题修改

wgl 4 년 전
부모
커밋
8f97a582b9
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 2
      src/projects/pension/views/Common/Device/List.vue
  2. 2 2
      src/projects/pension/views/Master/User/RelationPersonRegister.vue

+ 3 - 2
src/projects/pension/views/Common/Device/List.vue

@@ -73,9 +73,10 @@
 					this.isLoading = false;
 
 					this.getWatchList();
-					this.$router.push({
+					mui.toast('切换成功');
+					/* this.$router.push({
 						name: 'Master'
-					})
+					}) */
 				}).catch(error => {
 					this.isLoading = false;
 					mui.toast(error);

+ 2 - 2
src/projects/pension/views/Master/User/RelationPersonRegister.vue

@@ -146,9 +146,9 @@
 			},
 			asynCallBack() {
 				if (this.person_data) {
-					/* this.$router.push({
+					this.$router.push({
 						name: 'MasterUserRelationPerson'
-					}) */
+					})
 				}
 			},
 			...mapMutations({