sen-el-select
v0.0.4
Published
基于element-ui的选择下拉框:(业务场景应对el-select中:popper-append-to-body='false'弹出框不出现问题)
Downloads
7
Readme
基于element-ui的选择下拉框:(业务场景应对el-select中:popper-append-to-body='false'弹出框不出现问题)。
Home: -
Docs: network(组件调用地址)
Blog: https://blog.csdn.net
开发
1. npm install
2. npm run serve
3. http://localhost:8080
使用
# 安装
npm install sen-el-select --save
# 引入
import senElSelect from 'sen-el-select'
Vue.use(senElSelect)
# 页面
<div style="width: 200px;">
<sen-el-select :templateId.sync="templateId" :templateList="templateList" width="200"></sen-el-select>
</div>
data(){}
templateId: 2,
templateList: [{
id: '0',
templateName: '选择主体',
templateDescription:'以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介以下是一段比较长的简介'
}, {
id: '1',
templateName: 'haha有限公司',
templateDescription:'以下是一段比较长的简介2'
}, {
id: '2',
templateName: '一个人开发有限公司',
templateDescription:'到底了'
}],
}