微信小程序 – 返回上一级页面并刷新

var pages = getCurrentPages();
var beforePage = pages[pages.length - 2];
beforePage.onLoad();
wx.navigateBack({
    delta: 1,
})