todogroup.js 309 B

1234567891011121314151617181920
  1. Component({
  2. options: {
  3. styleIsolation: 'shared'
  4. },
  5. properties: {
  6. data: {
  7. type: Object,
  8. value: {}
  9. }
  10. },
  11. data: {
  12. },
  13. methods: {
  14. _change:function(...arg){
  15. if(global._events && typeof global._events.change === 'function'){
  16. global._events.change(...arg);
  17. }
  18. }
  19. }
  20. })