Blame view

examples/routers/rate.vue 898 Bytes
49d380cf   梁灏   init Rate component
1
  <template>
e2c6ff2b   梁灏   update Rate
2
      <div>
b324bb4d   梁灏   fixed #1761
3
4
          <Rate v-model="value"></Rate>
          <Rate allow-half v-model="valueHalf"></Rate>
8e99f189   Aresn   Update rate.vue
5
6
          <Rate clearable v-model="valueClear"></Rate>
          <Rate clearable allow-half  v-model="valueClearHalf"></Rate>
77e4c204   梁灏   fixed #1761
7
8
9
10
11
          <!--<Rate show-text v-model="valueText"></Rate>-->
          <!--<Rate show-text allow-half v-model="valueCustomText">-->
              <!--<span style="color: #f5a623">{{ valueCustomText }}</span>-->
          <!--</Rate>-->
          <!--<Rate disabled  allow-half v-model="valueDisabled"></Rate>-->
e2c6ff2b   梁灏   update Rate
12
      </div>
49d380cf   梁灏   init Rate component
13
14
15
  </template>
  <script>
      export default {
49d380cf   梁灏   init Rate component
16
          data () {
962c40bd   梁灏   update Rate
17
              return {
b324bb4d   梁灏   fixed #1761
18
19
20
                  value: 0,
                  valueHalf: 2.5,
                  valueText: 3,
77e4c204   梁灏   fixed #1761
21
                  valueCustomText: 4.0,
52258982   xiaofengsha   添加tag组件allowClear...
22
23
24
                  valueDisabled: 2.4,
                  valueClear: 1,
                  valueClearHalf: 1.5,
6aa72722   huixisheng   Support rate
25
26
              }
          }
b324bb4d   梁灏   fixed #1761
27
28
      }
  </script>