modify style

This commit is contained in:
MaysWind
2020-11-20 22:41:05 +08:00
parent 20b983dd06
commit 80ce5a7f73
+5 -5
View File
@@ -197,7 +197,7 @@ export default {
}, },
netAssets() { netAssets() {
if (!this.showAccountBalance) { if (!this.showAccountBalance) {
return '---'; return '***';
} }
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, () => true); const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, () => true);
@@ -227,7 +227,7 @@ export default {
}, },
totalAssets() { totalAssets() {
if (!this.showAccountBalance) { if (!this.showAccountBalance) {
return '---'; return '***';
} }
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isAsset); const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isAsset);
@@ -257,7 +257,7 @@ export default {
}, },
totalLiabilities() { totalLiabilities() {
if (!this.showAccountBalance) { if (!this.showAccountBalance) {
return '---'; return '***';
} }
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isLiability); const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isLiability);
@@ -370,12 +370,12 @@ export default {
if (this.showAccountBalance) { if (this.showAccountBalance) {
return account.balance; return account.balance;
} else { } else {
return '---'; return '***';
} }
}, },
accountCategoryTotalBalance(accountCategory) { accountCategoryTotalBalance(accountCategory) {
if (!this.showAccountBalance) { if (!this.showAccountBalance) {
return '---'; return '***';
} }
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.id === accountCategory.id); const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.id === accountCategory.id);