fn write_storage(key: &str, value: &str)
将值写入 localStorage 指定键。
仅在 wasm32 目标下执行实际写入;SSR 构建下为空操作。
wasm32