remove redundant content in function names

This commit is contained in:
MaysWind
2025-10-10 23:09:53 +08:00
parent b8fcdacb84
commit 77b083c41b
6 changed files with 10 additions and 10 deletions
@@ -16,7 +16,7 @@ export interface DayAndDisplayName {
readonly displayName: string;
}
export function useAccountEditPageBaseBase() {
export function useAccountEditPageBase() {
const { tt, getAllAccountCategories, getAllAccountTypes, getMonthdayShortName } = useI18n();
const userStore = useUserStore();
@@ -13,7 +13,7 @@ import type { Account, CategorizedAccount } from '@/models/account.ts';
import { isObject, isNumber, isString } from '@/lib/common.ts';
export function useAccountListPageBaseBase() {
export function useAccountListPageBase() {
const { formatAmountToLocalizedNumeralsWithCurrency } = useI18n();
const settingsStore = useSettingsStore();
+2 -2
View File
@@ -312,7 +312,7 @@ import { ref, computed, useTemplateRef, watch } from 'vue';
import { useDisplay } from 'vuetify';
import { useI18n } from '@/locales/helpers.ts';
import { useAccountListPageBaseBase } from '@/views/base/accounts/AccountListPageBase.ts';
import { useAccountListPageBase } from '@/views/base/accounts/AccountListPageBase.ts';
import { useAccountsStore } from '@/stores/account.ts';
@@ -364,7 +364,7 @@ const {
totalLiabilities,
accountCategoryTotalBalance,
accountBalance
} = useAccountListPageBaseBase();
} = useAccountListPageBase();
const accountsStore = useAccountsStore();
@@ -197,7 +197,7 @@ import SnackBar from '@/components/desktop/SnackBar.vue';
import { ref, computed, useTemplateRef, watch } from 'vue';
import { useI18n } from '@/locales/helpers.ts';
import { useAccountEditPageBaseBase } from '@/views/base/accounts/AccountEditPageBase.ts';
import { useAccountEditPageBase } from '@/views/base/accounts/AccountEditPageBase.ts';
import { useUserStore } from '@/stores/user.ts';
import { useAccountsStore } from '@/stores/account.ts';
@@ -244,7 +244,7 @@ const {
isNewAccount,
addSubAccount,
setAccount
} = useAccountEditPageBaseBase();
} = useAccountEditPageBase();
const userStore = useUserStore();
const accountsStore = useAccountsStore();
+2 -2
View File
@@ -522,7 +522,7 @@ import type { Router } from 'framework7/types';
import { useI18n } from '@/locales/helpers.ts';
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
import { useAccountEditPageBaseBase } from '@/views/base/accounts/AccountEditPageBase.ts';
import { useAccountEditPageBase } from '@/views/base/accounts/AccountEditPageBase.ts';
import { useAccountsStore } from '@/stores/account.ts';
@@ -587,7 +587,7 @@ const {
isNewAccount,
addSubAccount,
setAccount
} = useAccountEditPageBaseBase();
} = useAccountEditPageBase();
const accountsStore = useAccountsStore();
+2 -2
View File
@@ -221,7 +221,7 @@ import type { Router } from 'framework7/types';
import { useI18n } from '@/locales/helpers.ts';
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
import { useAccountListPageBaseBase } from '@/views/base/accounts/AccountListPageBase.ts';
import { useAccountListPageBase } from '@/views/base/accounts/AccountListPageBase.ts';
import { useRootStore } from '@/stores/index.ts';
import { useAccountsStore } from '@/stores/account.ts';
@@ -251,7 +251,7 @@ const {
totalLiabilities,
accountCategoryTotalBalance,
accountBalance
} = useAccountListPageBaseBase();
} = useAccountListPageBase();
const rootStore = useRootStore();
const accountsStore = useAccountsStore();