currencies as object; lintfix
This commit is contained in:
parent
cd8cdd31e3
commit
cf54e26dbf
3 changed files with 50 additions and 50 deletions
|
|
@ -38,14 +38,14 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Decimal from "break_infinity.js"
|
||||
import Decimal from 'break_infinity.js'
|
||||
|
||||
export default {
|
||||
name: 'TabNav',
|
||||
data() {
|
||||
return {
|
||||
energycurrency: new Decimal(0),
|
||||
timecurrency: new Decimal(0)
|
||||
energycurrency: new Decimal(0),
|
||||
timecurrency: new Decimal(0),
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -67,9 +67,9 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
increaseCurrency (energy, time) {
|
||||
this.energycurrency = Decimal.add(this.energycurrency, energy)
|
||||
this.timecurrency = Decimal.add(this.timecurrency, time)
|
||||
increaseCurrency(energy, time) {
|
||||
this.energycurrency = Decimal.add(this.energycurrency, energy)
|
||||
this.timecurrency = Decimal.add(this.timecurrency, time)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue