123456789101112131415 |
- import Api from "../../model/api";
- import {handleRichTextImgAuto} from "../../utils/utils";
- Page({
- data: {
- info: {},
- },
- async onLoad(options) {
- const res = await Api.getCollegeList(true);
- res.data[0].collegeContent = handleRichTextImgAuto(res.data[0].collegeContent);
- this.setData({
- info: res.data[0],
- })
- },
- })
|