Răsfoiți Sursa

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

jwyu 1 an în urmă
părinte
comite
3fd18dd1fe
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  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;