lint: format
This commit is contained in:
parent
2b4ab9c6ea
commit
977a598e42
4 changed files with 84 additions and 73 deletions
|
|
@ -1,35 +1,33 @@
|
|||
<template>
|
||||
<div>
|
||||
<button @click="add"> add {{addIncrement}} </button>
|
||||
<button @click="stepup"> add to the adding </button>
|
||||
<div> big value = {{ bigvalue }} </div>
|
||||
<button @click="add">add {{ addIncrement }}</button>
|
||||
<button @click="stepup">add to the adding</button>
|
||||
<div>big value = {{ bigvalue }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
// import Decimal from "break_infinity.js";
|
||||
|
||||
export default {
|
||||
name: 'InfinityTester',
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
addIncrement: 0,
|
||||
bigvalue: 0,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
add () {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("!")
|
||||
this.bigvalue = 0;
|
||||
},
|
||||
add() {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('!')
|
||||
this.bigvalue = 0
|
||||
},
|
||||
|
||||
stepup () {
|
||||
this.addIncrement += 100;
|
||||
|
||||
}
|
||||
}
|
||||
stepup() {
|
||||
this.addIncrement += 100
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Reference in a new issue