Method a: Use micro-channel provided getCurrentPages () to achieve
// update a data getPrevData () { var Pages = getCurrentPages (); var currPage = Pages [pages.length -. 1]; // current page var prevpage = Pages [pages.length - 2]; // the a page prevpage. vm.aaa $ = 'AAAAA' // H5 prevPage.aaa = 'AAAAA' // applet prevpage. vm.aaa $ = 'AAAAA' },
Method two: through the center of the file with the $ emit (), $ on () to achieve