Skip to content

Instantly share code, notes, and snippets.

@zhangkn
Created May 17, 2018 07:46
Show Gist options
  • Save zhangkn/7de1ab66a6b47c3c3a4b8771c5291f06 to your computer and use it in GitHub Desktop.
Save zhangkn/7de1ab66a6b47c3c3a4b8771c5291f06 to your computer and use it in GitHub Desktop.
<!--index.wxml wxs 进行页面渲染-->
<wxs module="m1">
var msg = "hello";
module.exports.message = msg;
</wxs>
<view> {{m1.message}} </view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment