File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Vol.Vue/src/views/document Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -2433,6 +2433,46 @@ export default {
24332433 tips: ` ` ,
24342434 img: " " ,
24352435 },
2436+ {
2437+ title: " table显示序号checkbox" ,
2438+ content: [` <div style="color:#D4D4D4;background-color:#1E1E1E;font-family:Consolas, "font-size:14px;line-height:19px;white-space:pre;">
2439+ <div>
2440+ <span style="color:#dcdcaa;">onInit</span> () {
2441+ </div>
2442+ <div>
2443+ <span style="color:#6a9955;">//需要更新前端组件2020.11.01</span>
2444+ </div>
2445+ <div>
2446+ <span style="color:#6a9955;">//隐藏checkbox列(默认是显示的)</span>
2447+ </div>
2448+ <div>
2449+ <span style="color:#569cd6;">this</span>.<span style="color:#9cdcfe;">ck</span> = <span style="color:#569cd6;">false</span>;
2450+ </div>
2451+ <div>
2452+ <span style="color:#6a9955;">//显示序号(默认隐藏)</span>
2453+ </div>
2454+ <div>
2455+ <span style="color:#569cd6;">this</span>.<span style="color:#9cdcfe;">columnIndex</span> = <span style="color:#569cd6;">true</span>;
2456+ </div>
2457+ <div>
2458+ <span style="color:#6a9955;">//从表配置同上</span>
2459+ </div>
2460+ <div>
2461+ <span style="color:#6a9955;">// this.detailOptions.ck = false;</span>
2462+ </div>
2463+ <div>
2464+ <span style="color:#6a9955;">// this.detailOptions.columnIndex = true;</span>
2465+ </div>
2466+ <div>
2467+ }
2468+ </div>
2469+ </div>` ],
2470+ tips: ` 如果是单独引用的voltable组件,同样适用上面的方法` ,
2471+ img:
2472+ " https://doc-vue-1256993465.cos.ap-chengdu.myqcloud.com/43.png?imageMogr2/thumbnail/!50p" ,
2473+ },
2474+
2475+
24362476 {
24372477 title: " 编辑表单实时计算" ,
24382478 content: [
You can’t perform that action at this time.
0 commit comments