update Rate
update Rate
This commit is contained in:
parent
962c40bd3d
commit
e5ac79258a
8 changed files with 32 additions and 3 deletions
|
@ -6,9 +6,10 @@ import VueRouter from 'vue-router';
|
|||
import App from './app.vue';
|
||||
import iView from '../src/index';
|
||||
// import locale from '../src/locale/lang/en-US';
|
||||
import locale from '../src/locale/lang/zh-CN';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(iView);
|
||||
Vue.use(iView, { locale });
|
||||
|
||||
// 开启debug模式
|
||||
Vue.config.debug = true;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div style="margin: 100px">
|
||||
{{value}}
|
||||
<br><br><br>
|
||||
<Rate :value.sync="value" :count="5" allow-half></Rate>
|
||||
<Rate :value.sync="value" :count="5" allow-half show-text></Rate>
|
||||
<br><br><br>
|
||||
<i-button @click="value++">add</i-button>
|
||||
<i-button @click="value--">remove</i-button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue