| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["components/demo"],{
- /***/ "./src/components/demo.ts":
- /*!********************************!*\
- !*** ./src/components/demo.ts ***!
- \********************************/
- /***/ (function() {
- // components/demo.ts
- Component({
- /**
- * Component properties
- */
- properties: {
- content: {
- type: String,
- value: '111'
- },
- detail: {
- type: Object
- },
- func: {
- type: Function
- }
- },
- /**
- * Component initial data
- */
- data: {},
- /**
- * Component methods
- */
- methods: {
- hello: function hello() {
- console.log('hello');
- this.triggerEvent('apple', {
- name: 'hello'
- });
- // debugger
- // this.data.func({name:'hello'})
- }
- }
- });
- /***/ })
- },
- /******/ function(__webpack_require__) { // webpackRuntimeModules
- /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
- /******/ var __webpack_exports__ = (__webpack_exec__("./src/components/demo.ts"));
- /******/ }
- ]);
- //# sourceMappingURL=demo.js.map
|