li.shaoyi 4 سال پیش
والد
کامیت
4ed40b39ee

+ 1 - 0
src/common/components/echart/echart-kline/index.vue

@@ -305,6 +305,7 @@ export default defineComponent({
             queryHistoryDatas(params).then((res) => {
                 loading.value = false;
                 if (res.length) {
+                    isEmpty.value = false;
                     // 日期升序排序
                     const kdata = res.sort((a, b) => moment(a.ts).valueOf() - moment(b.ts).valueOf());
                     handleData(kdata);

+ 1 - 0
src/common/components/echart/echart-timeline/index.vue

@@ -165,6 +165,7 @@ export default defineComponent({
             QueryTSData(props.quoteData.goodscode).then((res) => {
                 loading.value = false;
                 if (res.historyDatas.length) {
+                    isEmpty.value = false;
                     handleData(res);
                 } else {
                     isEmpty.value = true;