2 Commits

Author SHA1 Message Date
MaysWind
e9503d6ae2 fix the mobile transaction list page displayed incorrectly when loading more transactions 2025-10-02 21:37:00 +08:00
MaysWind
d8736eebf8 bump version to 1.1.1 2025-10-02 21:35:40 +08:00
3 changed files with 7 additions and 5 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "ezbookkeeping",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ezbookkeeping",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"dependencies": {
"@mdi/js": "^7.4.47",

View File

@@ -1,6 +1,6 @@
{
"name": "ezbookkeeping",
"version": "1.1.0",
"version": "1.1.1",
"private": true,
"repository": {
"type": "git",

View File

@@ -830,7 +830,8 @@ function setTransactionMonthListHeights(reset: boolean): Promise<unknown> {
if (transactions.value && transactions.value.length) {
const heights: Record<string, number> = getElementActualHeights('.transaction-month-list');
for (const transactionMonthList of transactions.value) {
for (let i = 0; i < transactions.value.length - 1; i++) {
const transactionMonthList = transactions.value[i] as TransactionMonthList;
const yearDashMonth = transactionMonthList.yearDashMonth;
const domId = getTransactionMonthListDomId(yearDashMonth);
const height = heights[domId];
@@ -848,7 +849,8 @@ function setTransactionInvisibleYearMonthList(): void {
return;
}
for (const transactionMonthList of transactions.value) {
for (let i = 0; i < transactions.value.length - 1; i++) {
const transactionMonthList = transactions.value[i] as TransactionMonthList;
const yearDashMonth = transactionMonthList.yearDashMonth;
const titleDomId = getTransactionMonthTitleDomId(yearDashMonth);