wxml设置
方法一:在wxml中直接添加模块,就可以在wxml中直接引用,举个例子 <!– 引入要用的函数 –> <wxs module=”func”> module.export...
方法一:在wxml中直接添加模块,就可以在wxml中直接引用,举个例子 <!– 引入要用的函数 –> <wxs module=”func”> module.export...
https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html 笔记:
注意注意,微信小程序require绝对路径