The following is the stack list of all pages
let pages = getCurrentPages(); // Stack of all pages
let prevPage = pages[pages.length - 2]; // The example on the previous page
prevPage.$vm----> This is the example on the previous page
For example, to operate on the previous page data Defined name
prevPage.$vm.name = ' assignment '


![Is interface automation difficult? Take you from 0 to 1 to get started with interface automation test [0 basic can also understand series]](/img/78/f36cdc53b94dc7da576d114a3eb2a6.png)





