Explorar el Código

Merge branch 'eta2.4.5' into debug

shanbinzhang hace 1 mes
padre
commit
91a814b4c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/chartShow/index.vue

+ 1 - 1
src/views/chartShow/index.vue

@@ -159,7 +159,6 @@ export default defineComponent({
         loading.value = false;
         state.chartInfo = Data.ChartInfo;
         IsCollect.value=Data.IsCollect;
-        state.dataList = Data.ChartInfo.Source === 1 ? Data.EdbInfoList : [Data.EdbInfoList[0]];
         haveData.value = true;
         haveAuth.value = Data.IsAuth;
 
@@ -169,6 +168,7 @@ export default defineComponent({
 
         if(!Data.IsAuth) return
 
+        state.dataList = Data.ChartInfo.Source === 1 ? Data.EdbInfoList : [Data.EdbInfoList[0]];
         state.options = useChartRender(Data,language.value as string)
         
         type === 'refresh' && ElMessage.success('刷新成功');