twmodule 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/lib/twComp.common.js +73 -78
- package/lib/twComp.css +1 -1
- package/lib/twComp.umd.js +73 -78
- package/lib/twComp.umd.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -478,9 +478,12 @@ stepData:{
|
|
478
478
|
hideLabelWidth:'75px',//隐藏表单里面,整体label的宽度,非必填,默认75px(满足4个汉字的宽度)
|
479
479
|
reset:true,//是否需要重置按钮,非必填,默认false
|
480
480
|
showSearchMore:true//是否需要启用隐藏表单,非必填,默认false
|
481
|
+
otherBtn:[{name:'导出全部',type:'primary',id:'exportAll'}],//增加其他多个按钮,配合getOtherEvent回调使用
|
481
482
|
}
|
482
|
-
|
483
|
+
|
483
484
|
formDataHideList:[]//非必须,用于隐藏表单数据
|
485
|
+
|
486
|
+
getOtherEvent://增加其他按钮的点击回调事件,非必须
|
484
487
|
|
485
488
|
getChange://change事件,非必须
|
486
489
|
返回 一个对象包含三个值 val,item,formData 当前值-当前列表-输出的表单对象
|
@@ -600,7 +603,7 @@ stepData:{
|
|
600
603
|
columns = [
|
601
604
|
{
|
602
605
|
title: '<span style="color: red;">changeNum</span><br/><span style="color: green;">(1111)</span>',
|
603
|
-
isHtmlHead:true
|
606
|
+
isHtmlHead:true,//开启表头顶定义html注入。
|
604
607
|
mention:{//开启表头叹号提示
|
605
608
|
text:'12312111111113',
|
606
609
|
icon:'el-icon-question',
|