mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
get account list api supports only requesting visible accounts
This commit is contained in:
@@ -318,7 +318,7 @@ export default {
|
||||
|
||||
self.loading = true;
|
||||
|
||||
self.$services.getAllAccounts().then(response => {
|
||||
self.$services.getAllAccounts({ visibleOnly: false }).then(response => {
|
||||
const data = response.data;
|
||||
|
||||
if (!data || !data.success || !data.result) {
|
||||
@@ -358,7 +358,7 @@ export default {
|
||||
|
||||
const self = this;
|
||||
|
||||
self.$services.getAllAccounts().then(response => {
|
||||
self.$services.getAllAccounts({ visibleOnly: false }).then(response => {
|
||||
if (done) {
|
||||
done();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user