【vue2.X+iview2.x】iView在非 template/render 模式下標簽的轉化


iView在非 template/render 模式下標簽的轉化、

 

以下組件,在非 template/render 模式下組件名要分隔:

DatePicker:date-picker
FormItem:form-item
CheckboxGroup:checkbox-group
InputNumber:input-number

 

以下組件,在非 template/render 模式下,需要加前綴 i-:

Button: i-button
Col: i-col
Table: i-table
Input: i-input
Form: i-form
Menu: i-menu
Select: i-select
Option: i-option
Progress: i-progress
Header:i-header
Content:i-content
Footer:i-footer

 

以下組件,在非 template/render 模式下,必須加前綴 i-:

Switch: i-switch
Circle: i-circle

 

以下組件,在非 template/render 模式下,其組件寫法不變,如

<Card>
<Checkbox>
<Row>
<Card>
<Sider>
<Layout>
<Submenu>
<Menu-item>


以下組件,在非 template/render 模式下,需要加前綴 xxx-yyy:

BreadcrumbItem:breadcrumb-item

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM