소스 검색

修改ETA图库标签对应图呗删除删除改标签

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

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

@@ -1535,7 +1535,10 @@ export default {
       const res = await dataBaseInterface.getChartInfoById({
           ChartInfoId: this.selected_chartid
         })
-        
+      if(res.Ret===403&&res.Msg=='图被删除,请刷新页面'){
+        this.deleteLabel({code:this.select_node})
+        return
+      }
       if (res.Ret !== 200) return;
       this.chartInfo = res.Data.ChartInfo;