Skip to content

Commit

Permalink
docs: 添加wxs注意事项
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyaqi committed Sep 6, 2019
1 parent 91c26da commit 2363dd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/frame.md
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@ export default {
```

- **【重要】** 编写wxs、sjs、filter.js 内容时必须遵循相应语法规范
- **【重要】** `module`所指定的模块名不可与`data``methods``computed`内的属性重名
- 目前各个小程序正在完善相关规范,可能会有较大改动,请务必仔细阅读相应平台的文档
- 支付宝小程序请使用sjs规范,[详见](https://docs.alipay.com/mini/framework/sjs)
- 支付宝小程序sjs只能定义在.sjs 文件中,然后使用```<script>```标签引入
Expand Down

0 comments on commit 2363dd4

Please sign in to comment.