• 新建一个.wxs文件
  • <!-- 引入.wxs文件 src为相对路径,module指定当前模块的名称 -->
  • <wxs module="filter" src="./func.wxs"></wxs>
  • <view>{{filter.xxx(item)}}</view>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-09-06
  • 2022-12-23
  • 2022-01-09
  • 2021-12-31
  • 2022-01-08
猜你喜欢
  • 2021-09-16
  • 2022-12-23
  • 2021-04-21
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案