فهرست منبع

添加和 删除 学员 可以 实时刷新

husky 4 سال پیش
والد
کامیت
56cc553cbf
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      components/home/teacher/project.vue

+ 3 - 0
components/home/teacher/project.vue

@@ -673,6 +673,7 @@
 							this.$forceUpdate()
 							this.isShowAddMember = false
 						}
+						this.getMemberList();
 						this.$forceUpdate()
 						this.isShowAddMember = false
 						// this.projectData.splice(index,index);
@@ -725,6 +726,7 @@
 					success: res => {
 						console.log("delete project ok", res);
 						this.$emit('onBackToProjectList');
+						this.getlist()
 						this.$forceUpdate();//强制刷新页面
 					}
 				})
@@ -766,6 +768,7 @@
 						console.log('删掉成员 返回',res)
 						if (res.data.Code == 100) {
 							// this.$refs.table.getList();
+							this.getMemberList();
 							this.$forceUpdate();//强制刷新页面
 						}
 						// this.projectData.splice(index,index);