jQuery MiniUI

 找回密码
 立即注册
查看: 853|回复: 0
打印 上一主题 下一主题

打开窗体的关闭按钮问题 [复制链接]

Rank: 6Rank: 6

楼主
发表于 2022-11-17 17:23:36 |显示全部楼层
// 父页面
var a = mini.open({
      targetWindow: window,
      url: "/xxxxxx.html",
      title: "xxxx",
      showCloseButton: false
})
function showclose(){
       a.setShowCloseButton(true)
}
// 子页面
if(xxxxxx){window.parent.showclose()}

Archiver|普加软件

GMT+8, 2024-5-24 22:19 , Processed in 1.029404 second(s), 9 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部