hbchen 11 сар өмнө
parent
commit
083e9a2fbe

+ 5 - 2
src/views/dataEntry_manage/databaseList.vue

@@ -473,7 +473,7 @@
 			:isShow.sync="isUpdateNewestData"
 			:edbinfo="tableData[0]"
 			:dataList="dataList"
-			@success="initGetData"
+			@success="updateNewest"
 		/>
 
 		 <!-- 指标历史记录 -->
@@ -1829,7 +1829,10 @@ export default {
 		updateNewestDataHandle() {
 			this.isUpdateNewestData = true;
 		},
-
+		updateNewest(){
+				this.initGetData()
+				this.rePainChart()
+		},
 		/* 获取标签列表 */
 		getlabelList(){
 			const List = JSON.parse(sessionStorage.getItem('database'))||[]