网站首页 >> 牛刀云小程序开发 >> 附录 >> 系统API >> 表达式编辑器函数API

5.3.2.8 路径函数

1、wx.urlUtilFn.decodeURIComponent(String)可对encodeURIComponent函数编码的URL进行解码

2、wx.urlUtilFn.encodeURIComponent(String)可把字符串作为URL 组件进行编码