Saitama

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

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