微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
627 B

  1. // component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.js
  2. import * as UTIL from '../../utils/util.js';
  3. import * as API from '../../utils/API.js';
  4. const app = getApp()
  5. Component({
  6. properties: {
  7. type: Object,
  8. popupVisible:false,
  9. subjects: {},
  10. observer: function (newVal, oldVal) {}
  11. },
  12. observers: {
  13. 'subjects': function(val) {
  14. // this.selectComponent('#tabs').resize();
  15. },
  16. 'popupVisible': function(val) {
  17. }
  18. },
  19. /**
  20. * 页面的初始数据
  21. */
  22. data: {
  23. },
  24. /**
  25. * 组件的方法列表
  26. */
  27. methods: {
  28. open(e){
  29. console.log(e);
  30. },
  31. }
  32. })