Browse Source

fix: 流水账表格分页数据

text-draggable
xuesinan 4 years ago
parent
commit
24cfd362e9
  1. 5
      src/plugins/p-daily-account/p-daily-account-detail.vue

5
src/plugins/p-daily-account/p-daily-account-detail.vue

@ -331,10 +331,6 @@ async function getQueryTasks() {
const data = await queryTasks(params, url);
if (formState.timeRange[0].startOf('day').add(1, 'day').valueOf() === formState.timeRange[1].startOf('day').valueOf()) {
current.value = 1;
}
columns.value = [
{
title: '时间',
@ -411,6 +407,7 @@ function handleSubmit() {
const end = dayjs(+startTime.value).add(1, 'day');
endTime.value = dayjs(+end).valueOf();
getQueryTasks();
current.value = 1;
}
//

Loading…
Cancel
Save