shit iview docs & i-radio bug

shit iview docs & i-radio bug

https://github.com/iview/iview/issues/5627


<i-row>
<i-col span="23" push="1" style="margin: 5px;">
<span class="audit-common-lable">POST 参数方式</span>
<!-- <i-radioGroup v-model="postType">
<i-radio label="form">form data</i-radio>
<i-radio label="json">JSON</i-radio>
</i-radioGroup> -->
<RadioGroup v-model="postType">
<Radio label="form">form data</Radio>
<Radio label="json">JSON</Radio>
</RadioGroup>
</i-col>
</i-row>

shit docs

https://www.iviewui.com/components/radio

https://github.com/iview/iview/tree/2.0/src/components

shit iview docs & i-radio bug


<template>
<div>
<RadioGroup v-model="postType">
<Radio label="form">form data</Radio>
<Radio label="json">JSON</Radio>
</RadioGroup>
<i-radiogroup v-model="postType">
<i-radio label="form">form data</i-radio>
<i-radio label="json">JSON</i-radio>
</i-radiogroup>
</div>
</template>
<script>
export default {
data () {
return {
buttonSize: 'large',
postType: "form",
}
},
}
</script>

solutons

holy shit docs

https://github.com/iview/iview/issues/365#issuecomment-287691548

shit iview docs & i-radio bug


<template>
<div>
<RadioGroup v-model="postType">
<Radio label="form">form data</Radio>
<Radio label="json">JSON</Radio>
</RadioGroup>
<i-radiogroup v-model="postType">
<i-radio label="form">form data</i-radio>
<i-radio label="json">JSON</i-radio>
</i-radiogroup>
</div>
</template>
<script>
export default {
data () {
return {
buttonSize: 'large',
postType: "form",
}
},
}
</script>

https://run.iviewui.com/

no i-radio

shit iview docs & i-radio bug

上一篇:菜鸟学SSH(三)——Struts2国际化自动检测浏览器语言版


下一篇:Tomcat 总体结构