How do I send a JS object to Rust (wasm-bindgen)

前端 未结 0 1554
滥情空心
滥情空心 2021-01-12 21:52

I already followed this tutorial: https://rustwasm.github.io/docs/wasm-bindgen/reference/arbitrary-data-with-serde.html, but the value returned is always undefined

相关标签:
回答
  • 消灭零回复
提交回复
热议问题