mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
add balance setting in creating account page
This commit is contained in:
+2
-1
@@ -172,7 +172,7 @@ export default {
|
||||
getAccount: ({ id }) => {
|
||||
return axios.get('v1/accounts/get.json?id=' + id);
|
||||
},
|
||||
addAccount: ({ category, type, name, icon, color, currency, comment, subAccounts }) => {
|
||||
addAccount: ({ category, type, name, icon, color, currency, balance, comment, subAccounts }) => {
|
||||
return axios.post('v1/accounts/add.json', {
|
||||
category,
|
||||
type,
|
||||
@@ -180,6 +180,7 @@ export default {
|
||||
icon,
|
||||
color,
|
||||
currency,
|
||||
balance,
|
||||
comment,
|
||||
subAccounts
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user