Sfoglia il codice sorgente

Merge branch 'master' of http://94.191.59.107:3000/houwenfeng/ybxf-security-uniapp

coderbutcher 1 anno fa
parent
commit
06b9463ccf
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      pagesA/fire/remind/index.vue

+ 5 - 2
pagesA/fire/remind/index.vue

@@ -195,7 +195,9 @@
 				const arr = [];
 				arr[0]=item.broad_id
 				setisread({broadIds:arr}).then(res=>{
+					this.tableData = [];
 					this.getData(1);
+					this.$forceUpdate()
 				})
 			},
 				
@@ -243,12 +245,13 @@
 				remindBroadFinish(this.formData).then(res=>{
 					this.$modal.msgSuccess('上传成功');
 					this.showComplete=false;
+					this.tableData = [];
+					this.getData(1);
+					this.$forceUpdate()
 				}).catch(err=>{
 						this.$modal.msgSuccess('上传失败');
 						this.showComplete=false;
 				})
-				this.getData();
-				this.$forceUpdate()
 			},
 			// 单个公告详情点击事件
 			onNoticeClick(val) {