Skip to content

Commit 61b9792

Browse files
author
ety001
committed
fixed total calculation error
1 parent 1b8f4bc commit 61b9792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/common/WalletInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default {
153153
},
154154
total() {
155155
const assetVals = this.$store.getters.assetVals;
156-
let total = 0;
156+
let total = parseFloat(this.nativeBalance);
157157
assetVals.forEach((v) => {
158158
total += parseFloat(v.assetVal);
159159
});

0 commit comments

Comments
 (0)