home-class.js 456 B

1234567891011121314151617181920
  1. import {getDataSet} from "../../../../utils/utils";
  2. import {classStatus} from "../../../../model/enum";
  3. import Route from "../../../../model/route";
  4. Component({
  5. properties: {
  6. current: Number,
  7. future: Number,
  8. history: Number
  9. },
  10. data: {
  11. classStatusEnum: classStatus
  12. },
  13. methods: {
  14. onTap(e) {
  15. const type = getDataSet(e, "type");
  16. Route.toClassPanel(type);
  17. },
  18. }
  19. })