class mechanism { constructor() { footer() this.institutions(); } async institutions() { let insti = await indexserve.mechanism() console.log(insti.result) insti.result.forEach((v) => { console.log(v) $(".content").html(`
  • ${v.title}

    ${v.id}套

  • `); }) } } new mechanism()