Skip to content

Commit

Permalink
完善
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Nov 25, 2024
1 parent 384f90d commit b3a7e8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/native-to-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ App暴露的Javascript方法,可以使用这些方法调用原生的组件!

## isJson

提示用于需要用户注意的信息
判断一个字符串是否为json格式

=== "示例"

Expand Down Expand Up @@ -162,7 +162,7 @@ App暴露的Javascript方法,可以使用这些方法调用原生的组件!

## post/get

进行一个HTTP的POST/get请求,采用原生交互写法,不存在普通js的ajax跨域问题.
进行一个HTTP的POST/GET请求,采用原生交互写法,不存在普通js的ajax跨域问题.

=== "示例"

Expand Down Expand Up @@ -221,7 +221,7 @@ App暴露的Javascript方法,可以使用这些方法调用原生的组件!
将一个或多个参数本地化保存,获取和删除.

### put
保存到本地
持久化数据

=== "示例"

Expand Down

0 comments on commit b3a7e8f

Please sign in to comment.