v1.1.3
This commit is contained in:
parent
54a7bc73fd
commit
5ea4e42a1b
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,5 +1,18 @@
|
||||
## 更新日志
|
||||
|
||||
### 1.1.3
|
||||
|
||||
*2019-12-04*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- 调整使用dom渲染get等方法的错误; 调整宽度过窄时分页的样
|
||||
- 调整宽度过窄时分页的样式
|
||||
- 修复选项过宽时, label的展示溢出
|
||||
- 修复setValue自定义数据时 操作报错
|
||||
- 修复create创建新数据时 操作报错
|
||||
|
||||
|
||||
### 1.1.2
|
||||
|
||||
*2019-12-02*
|
||||
|
4
dist/static/2.js
vendored
4
dist/static/2.js
vendored
File diff suppressed because one or more lines are too long
4
dist/static/3.js
vendored
4
dist/static/3.js
vendored
File diff suppressed because one or more lines are too long
4
dist/static/docs.js
vendored
4
dist/static/docs.js
vendored
File diff suppressed because one or more lines are too long
4
dist/xm-select.js
vendored
4
dist/xm-select.js
vendored
File diff suppressed because one or more lines are too long
@ -3,17 +3,15 @@
|
||||
:::demo
|
||||
```html
|
||||
<div id="demo1" class="xm-select-demo"></div>
|
||||
<button class="layui-btn layui-btn-xs">sdf</button>
|
||||
|
||||
<script>
|
||||
var demo1 = xmSelect.render({
|
||||
el: '#demo1',
|
||||
autoRow: true,
|
||||
paging: true,
|
||||
pageSize: 2,
|
||||
size:'mini',
|
||||
autoRow: true,
|
||||
tree: {
|
||||
strict: true,
|
||||
strict: false,
|
||||
show: true,
|
||||
showFolderIcon: true,
|
||||
showLine: true,
|
||||
@ -35,11 +33,12 @@ var demo1 = xmSelect.render({
|
||||
model: {
|
||||
icon: 'show'
|
||||
},
|
||||
radio: true,
|
||||
radio: false,
|
||||
toolbar: {
|
||||
show: true
|
||||
},
|
||||
height: 'auto',
|
||||
initValue: [-1, 1],
|
||||
data(){
|
||||
return [
|
||||
{name: '北京市时代峰峻莱克斯顿荆防颗粒受到了开发建设的路口附近', value: -1, children: [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xm-select",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"description": "始于Layui的select多选解决方案",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -337,7 +337,7 @@ class General extends Component{
|
||||
//查看是否创建了条目
|
||||
if(creator){
|
||||
creator = create(this.state.filterValue, deepMerge([], arr));
|
||||
creator && arr.splice(0, 0, creator);
|
||||
creator && arr.splice(0, 0, {...creator, __node: {}});
|
||||
}
|
||||
|
||||
let safetyArr = deepMerge([], arr);
|
||||
|
@ -115,6 +115,9 @@ xm-select{
|
||||
.label-content{
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.xm-label-block > span{
|
||||
white-space: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.scroll{
|
||||
|
Loading…
Reference in New Issue
Block a user