Saitama

CRUD 的 List 页面状态怎么样可以高效序列化和反序列化到 URL 参数?

  •  
  •   Saitama · May 9, 2023 · 1712 views
    This topic created in 1133 days ago, the information mentioned may be changed or developed.
    CRUD 项目的 List 页面一般都是一个 Table 组件,Table 有很多状态. Pagination ,filter ,sort 。 这些玩意儿除了弄几个工具函数,序列化反序列化,然后传递给 Table <Table ...tableState>,还有没有更优雅的方法了。
    vevlins
        1
    vevlins  
       May 12, 2023
    那还能怎么优雅,不然你把这些组件状态直接序列化 /反序列化呗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3623 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:57 · PVG 12:57 · LAX 21:57 · JFK 00:57
    ♥ Do have faith in what you're doing.