![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iView
牧马少女
牧马少女的学习笔记。
展开
-
Vue + iView实现Excel上传
1、HTML部分<Col span="2">上传文件:</Col><Col span="22" class="uploadExcelBox"> <Upload ref="uploadExcel" :loading="uploadLoading" :action="uploadFileUrl" accept="xlsx,xls" :format="uploadFormat" :before-upload="beforeImgFile" :on-succ原创 2021-06-21 20:09:04 · 1338 阅读 · 10 评论 -
iveiw:Switch开关用法
1、HTML<Table border :columns="tableColumns" :data="tableData" :loading="tableLoading"> <!-- 是否开启:0:启用,1:禁用 --> <template slot-scope="{ row, index }" slot="isStatus"> <i-switch v-model="row.isStatus1" @on-change="handle原创 2021-06-09 16:07:46 · 1007 阅读 · 0 评论 -
iview table组件动态新增行并插入input
1、HTML部分<Table border :columns="rulesTableColumns" :data="rulesTableData" > <template slot-scope="{ row }" slot="ranking" ref="row"> <div class="service table_slot"> <Input v-model="row.ranking" @input="onInputT原创 2021-06-01 19:44:55 · 2421 阅读 · 0 评论 -
iview modal 底部不显示
<Modal v-model="showModal" :title="modalTitle"> <div slot="footer"></div></Modal>原创 2021-03-19 18:07:24 · 1164 阅读 · 0 评论 -
iview table控件在render函数里设置DOM属性值的方法
columns:[ { title: '员工头像', key: 'a', render:(h,params) =>{ return h('div',{ style: { width: '100%', height:"120px", display: "flex","justify-content": "flex-start","align-it.原创 2021-01-07 11:15:29 · 824 阅读 · 1 评论