Commit 3c3834f1 authored by wildfirecode13's avatar wildfirecode13

Update README.md

parent 8385f3fb
...@@ -11,6 +11,11 @@ http://gitlab2.dui88.com/wanghongyuan/hello_canvas ...@@ -11,6 +11,11 @@ http://gitlab2.dui88.com/wanghongyuan/hello_canvas
sendTbNet(TbNetName.showModal, {name:'ruleModal'}, (s, res) => { }) sendTbNet(TbNetName.showModal, {name:'ruleModal'}, (s, res) => { })
``` ```
# 给弹窗传参
```js
sendTbNet(TbNetName.showModal, {name:'messageModal',data:{catName:'喵喵'}}, (s, res) => { })
```
# 切换场景 # 切换场景
```js ```js
sendTbNet(TbNetName.navigateToPage, {name:'pageshop'}, (s, res) => { }) sendTbNet(TbNetName.navigateToPage, {name:'pageshop'}, (s, res) => { })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment