Skip to main content

read_storage

Function read_storage 

Source
fn read_storage(key: &str) -> Option<String>
Expand description

从 localStorage 读取指定键的值。

仅在 wasm32 目标下执行实际读取;SSR 构建下直接返回 None。