Skip to main content

write_storage

Function write_storage 

Source
fn write_storage(key: &str, value: &str)
Expand description

将值写入 localStorage 指定键。

仅在 wasm32 目标下执行实际写入;SSR 构建下为空操作。