mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
modify method name
This commit is contained in:
@@ -255,7 +255,7 @@ import { useExchangeRatesStore } from '@/stores/exchangeRates.js';
|
||||
|
||||
import assetConstants from '@/consts/asset.js';
|
||||
import categoryConstants from '@/consts/category.js';
|
||||
import { categoriedArrayToPlainArray } from '@/lib/common.js';
|
||||
import { categorizedArrayToPlainArray } from '@/lib/common.js';
|
||||
|
||||
import {
|
||||
mdiArrowLeft,
|
||||
@@ -415,7 +415,7 @@ export default {
|
||||
let submitCategories = [];
|
||||
|
||||
if (self.usePresetCategories) {
|
||||
submitCategories = categoriedArrayToPlainArray(self.allPresetCategories);
|
||||
submitCategories = categorizedArrayToPlainArray(self.allPresetCategories);
|
||||
}
|
||||
|
||||
self.rootStore.register({
|
||||
|
||||
@@ -71,7 +71,7 @@ import { mapStores } from 'pinia';
|
||||
import { useTransactionCategoriesStore } from '@/stores/transactionCategory.js';
|
||||
|
||||
import categoryConstants from '@/consts/category.js';
|
||||
import { categoriedArrayToPlainArray } from '@/lib/common.js';
|
||||
import { categorizedArrayToPlainArray } from '@/lib/common.js';
|
||||
|
||||
import {
|
||||
mdiDotsVertical
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
|
||||
self.submitting = true;
|
||||
|
||||
const submitCategories = categoriedArrayToPlainArray(self.allPresetCategories);
|
||||
const submitCategories = categorizedArrayToPlainArray(self.allPresetCategories);
|
||||
|
||||
self.transactionCategoriesStore.addCategories({
|
||||
categories: submitCategories
|
||||
|
||||
Reference in New Issue
Block a user