src/views/energyManagement/energyPeriodTime/index.vue
@@ -175,7 +175,7 @@ }, form: { date: "", price: "", price: "", peak: "", valley: "", flat: "", @@ -185,7 +185,7 @@ const { searchForm,form } = toRefs(data); const page = ref({ current: 1, size: 10, size: 100, total: 0 }); const dialogFormVisible = ref(false); @@ -322,10 +322,10 @@ tableLoading.value = false; if (res && res.data) { tableData.value = res.data.records || []; page.total = res.data.total || 0; page.value.total = res.data.total || 0; } else { tableData.value = []; page.total = 0; page.value.total = 0; ElMessageBox.warning('未获取到数据'); } })