
iview
LLL_LH
记录一些学习心得
展开
-
iview实现单选框
1、template<i-table border :data="dataSource1" :columns="columns1"></i-table>2、datadata() { return { nowid: 0, uuid: '', columns1: [ { ...翻译 2019-02-14 09:23:24 · 2223 阅读 · 1 评论 -
iview的slect选中获取value和label值
1、html<Select v-model="taskcode" @on-change="perChange" style="width:300px" :label-in-value="true"> <Option v-for="item in perList" :value="item.value" :key="原创 2018-12-04 10:59:39 · 11953 阅读 · 3 评论 -
iview的table实现全选
1、html<Table border height="500" :columns="columns" :data="dataSource" :loading="loading" @on-selection-change="selectRow" ></Table>2、jscolumns: [原创 2018-12-04 10:40:38 · 3672 阅读 · 0 评论 -
给iview的select控件添加默认值
html部分:<template> <div> 清单类型 <Select v-model="model1" style="width:150px" @on-change="listTypeChange"> <Option v-for="item in listType" :value=原创 2018-12-01 15:48:29 · 5483 阅读 · 0 评论