modify method name

This commit is contained in:
MaysWind
2025-03-23 14:59:06 +08:00
parent fc2c5a8e6c
commit ab4fc8faf5
11 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ function init(): void {
transactionCategoriesStore.getCategory({
categoryId: editCategoryId.value
}).then(response => {
category.value.from(response);
category.value.fillFrom(response);
loading.value = false;
}).catch(error => {
if (error.processed) {
+1 -1
View File
@@ -955,7 +955,7 @@ function init(): void {
transaction.value = TransactionTemplate.createNewTransactionTemplate(transaction.value);
}
(transaction.value as TransactionTemplate).from(template);
(transaction.value as TransactionTemplate).fillFrom(template);
}
loading.value = false;