index.js 304 B

1234567891011121314151617181920
  1. const app = getApp(),
  2. {
  3. globalData: {
  4. util: {
  5. regeneratorRuntime,
  6. api: { club},
  7. navigate_native,
  8. request:{get}
  9. }
  10. }
  11. } = app;
  12. Page({
  13. async onLoad() {
  14. let list= await get(club);
  15. this.setData({
  16. list
  17. })
  18. },
  19. navigate_native
  20. })