current position:Home>Click the jump button in the sub menu of layuimini to jump to the parent page

Click the jump button in the sub menu of layuimini to jump to the parent page

2022-02-04 17:04:30 CSDN Q & A

img


This is the back button of the submenu

img

After clicking return, a new page will be opened in the current sub page , I want it to jump to the parent page




Take the answer :

Call close pop-up event
var index = parent.layer.getFrameIndex(window.name); // Get window index
parent.layer.close(index);


copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/02/202202041704280651.html

Random recommended