jwyu 1 жил өмнө
parent
commit
9feacb8776

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