|
@@ -188,7 +188,7 @@ export default defineComponent({
|
|
|
|
|
|
//获取历史数据
|
|
|
async function getListdays() {
|
|
|
- if (posMonitor.value.stationtype != 'redis') {
|
|
|
+ if (posMonitor.value.stationtype && posMonitor.value.stationtype != 'redis') {
|
|
|
const ttime_begin = dayjs(new Date().getTime() - 3 * 24 * 60 * 60 * 1000).format('YYYY-MM-DD hh:mm:ss');
|
|
|
const ttime_end = dayjs(new Date().getTime()).format('YYYY-MM-DD hh:mm:ss');
|
|
|
const pageNo = 1;
|