cheneydog
V2EX  ›  问与答

用 vue.ant.design table expandedRowRender 参数怎么写?

  •  
  •   cheneydog · Mar 13, 2019 · 6647 views
    This topic created in 2635 days ago, the information mentioned may be changed or developed.
    expandedRowRender	
    额外的展开行	
    
    Function(record, index, indent, expanded):VNode | slot="expandedRowRender" slot-scope="record, index, indent, expanded"	-
    
    

    VNode 是要返回个啥? 哪个是 h 函数?

    2 replies    2019-09-16 15:58:09 +08:00
    jackShell
        1
    jackShell  
       Sep 16, 2019
    兄嘚,咋写的呀
    jackShell
        2
    jackShell  
       Sep 16, 2019
    <a-table :columns="columns"

    :dataSource="data"

    >

    <a-table

    slot="expandedRowRender"

    slot-scope="record"

    :columns="innerColumns"

    :dataSource="record.innerData"

    :rowKey="record.id"

    >

    </a-table>

    </a-table>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2659 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:42 · PVG 19:42 · LAX 04:42 · JFK 07:42
    ♥ Do have faith in what you're doing.