在小程序中實現返回頁面功能的方法1.使用beforePage返回上一級頁面var pages = getCurrentPages(); //當前頁面var beforePage = pages[pag...