Skip to main content

read_state

Function read_state 

Source
pub fn read_state<T: DeserializeOwned>(key: &str) -> Option<T>
Expand description

读取当前历史记录保存的页面状态。SSR 和资源加载失败时没有客户端状态。