jwyu 1 년 전
부모
커밋
9feacb8776
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/dataEntry_manage/chartSetting.vue
  2. 1 0
      src/views/dataEntry_manage/databaseList.vue

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

@@ -1535,7 +1535,8 @@ export default {
       const res = await dataBaseInterface.getChartInfoById({
           ChartInfoId: this.selected_chartid
         })
-      if(res.Ret===403&&res.Msg=='图被删除,请刷新页面'){
+      if(res.Ret===406){
+        this.$message.warning(res.Msg)
         this.deleteLabel({code:this.select_node})
         return
       }

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

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