[change] optimize the webapack config
[change] rename test to examples
This commit is contained in:
parent
c06e99d09f
commit
c9c5e751ae
47 changed files with 81 additions and 128 deletions
25
examples/routers/rate.vue
Normal file
25
examples/routers/rate.vue
Normal file
|
@ -0,0 +1,25 @@
|
|||
<template>
|
||||
<div>
|
||||
<Rate v-model="v1" allow-half show-text disabled>
|
||||
<span style="color: #f5a623">{{ v1 }}</span>
|
||||
</Rate>
|
||||
{{ v1 }}
|
||||
<div @click="v1 = 3">change v1</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {},
|
||||
data () {
|
||||
return {
|
||||
v1: 2
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
changeValue (val) {
|
||||
console.log(val);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue