index.js 357 B

1234567891011121314151617
  1. "use strict";
  2. var _page = _interopRequireDefault(require("../../common/page"));
  3. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  4. (0, _page["default"])({
  5. data: {
  6. show: false
  7. },
  8. onChange: function onChange(_ref) {
  9. var detail = _ref.detail;
  10. this.setData({
  11. show: detail
  12. });
  13. }
  14. });