update Rate
update Rate
This commit is contained in:
parent
d94d98c464
commit
962c40bd3d
2 changed files with 58 additions and 33 deletions
|
@ -1,13 +1,20 @@
|
|||
<template>
|
||||
<div style="margin: 100px">
|
||||
<Rate></Rate>
|
||||
{{value}}
|
||||
<br><br><br>
|
||||
<Rate :value.sync="value" :count="5" allow-half></Rate>
|
||||
<br><br><br>
|
||||
<i-button @click="value++">add</i-button>
|
||||
<i-button @click="value--">remove</i-button>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {},
|
||||
data () {
|
||||
return {};
|
||||
return {
|
||||
value: 3.8
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
methods: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue