ES6 – 不用加号传参

toChat: function (e) {
    let that = this;
    let id = e.currentTarget.dataset.id;
    wx.navigateTo({
        url: `chat/chat?id=${id}`
    })
},