Explorar o código

Merge branch 'fix'

jwyu hai 1 ano
pai
achega
7fa93811bd

+ 5 - 1
src/views/dataEntry_manage/chartSetting.vue

@@ -1535,7 +1535,11 @@ export default {
       const res = await dataBaseInterface.getChartInfoById({
           ChartInfoId: this.selected_chartid
         })
-        
+      if(res.Ret===406){
+        this.$message.warning(res.Msg)
+        this.deleteLabel({code:this.select_node})
+        return
+      }
       if (res.Ret !== 200) return;
       this.chartInfo = res.Data.ChartInfo;
       

+ 1 - 0
src/views/dataEntry_manage/databaseList.vue

@@ -858,6 +858,7 @@ export default {
 
 						this.$refs.menuTree.setCurrentKey(null)
 						// 清除当前的label
+						this.$message.warning('该图表已删除,自动查看下一图表')
 						this.deleteLabel({code:this.select_node,id:this.selected_edbid,classifyId:''})
 						
 					}