浏览代码

Merge branch 'fix'

jwyu 1 年之前
父节点
当前提交
7fa93811bd
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 1
      src/views/dataEntry_manage/chartSetting.vue
  2. 1 0
      src/views/dataEntry_manage/databaseList.vue

+ 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:''})
 						
 					}