How do I call methods defined by methods during the life cycle of Mini Program components?

the following is the Mini Program component code

methods: {
    getList: function () {
      util.get(`${config.service.host}/web/news/list_with_pub_info?channelId=${config.channelId}&page=${that.data.page}&size=${that.data.size}`, function (res) {
        that.setData({
          newsList: res.data.content,
          totalPages: res.data.totalPages
        })
      }, function (e) {
        console.log(JSON.stringify(e));
      });
     },
  },
  ready: function (options) {
    let that = this;
    this.getList();//undefined
  },
Apr.05,2021

first of all, this is called in onLoad, and then you all let that = this and then in this.getList it must be undefined, either let that = this , or that.getList . There are also errors in the getList above. let that = this

is added to the getList method.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ae1d-2baa0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ae1d-2baa0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?