forked from opentiny/tiny-vue
docs(numeric): [numeric]optimized docs of numeric component (#1753)
* docs(numeric): optimized docs of numeric component * fix: update numeric demo * fix: resolve code review
This commit is contained in:
parent
ca87faa0e6
commit
78d02c90fb
|
@ -281,7 +281,7 @@ export default {
|
|||
defaultValue: '',
|
||||
desc: {
|
||||
'zh-CN': '计数器尺寸,该属性的可选值为 medium | small | mini',
|
||||
'en-US': 'Counter size.The optional values of this attribute are medium | small | mini'
|
||||
'en-US': 'Counter size,The optional values of this attribute are medium | small | mini'
|
||||
},
|
||||
mode: ['pc', 'mobile-first'],
|
||||
pcDemo: 'numeric-size',
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<tiny-numeric v-model="value" size="small"></tiny-numeric>
|
||||
<br /><br />
|
||||
<tiny-numeric v-model="value" size="mini"></tiny-numeric>
|
||||
<br /><br />
|
||||
<tiny-numeric v-model="value"></tiny-numeric>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<tiny-numeric v-model="value" size="small"></tiny-numeric>
|
||||
<br /><br />
|
||||
<tiny-numeric v-model="value" size="mini"></tiny-numeric>
|
||||
<br /><br />
|
||||
<tiny-numeric v-model="value"></tiny-numeric>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -101,9 +101,9 @@ export default {
|
|||
},
|
||||
desc: {
|
||||
'zh-CN':
|
||||
'可通过<code>size</code> 属性设置计数器尺寸,可选值有<code>medium</code><code>small</code><code>mini</code>。',
|
||||
'可通过 <code>size</code> 属性设置计数器尺寸,可选值有 <code>medium</code><code>small</code><code>mini</code>。',
|
||||
'en-US':
|
||||
'You can set the counter size through the<code>size</code>attribute.The value can be <code>medium</code><code>small</code><code>mini</code>. '
|
||||
'You can set the counter size through the<code>size</code>attribute,the value can be <code>medium</code><code>small</code><code>mini</code>. '
|
||||
},
|
||||
codeFiles: ['numeric-size.vue']
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue