@@ -3,7 +3,6 @@ module.exports = {
printWidth: 120,
semi: true,
singleQuote: true,
- singleAttributePerLine: true,
trailingComma: 'none',
endOfLine: 'auto',
arrowParens: 'avoid'
@@ -145,7 +145,7 @@ export default {
return this.onlineTypeList[this.online_type].price;
},
onlineTotal() {
- return this.curOnlineTypePrice * this.quota_add * this.quota_multiply;
+ return Number(this.curOnlineTypePrice * this.quota_add * this.quota_multiply).toFixed(2);
}
watch: {