Score
0
Watch 253 Star 472 Fork 257

稻米 / LigerUIJavaScript

dialog利用ajax加载页面时会读取两次

Open
linziguan  Opened this issue

_render
_setUrl
中各会加载页面一次。
那个target具体是有什么用的?

123484 linziguan 1578918579 total 1 participants

Comments (2)

123484 linziguan 1578918579
linziguan 2014-11-13 23:15

var dialog = $.ligerDialog.open({
height:350,
width: 400,
title: '添加功能点',
url: ctx + '/platform/funcPoint/edit.jsp',
load: true,
onClose: function () {
sub.remove();
}
});

123484 linziguan 1578918579
linziguan 2014-11-13 23:16

var dialog = $.ligerDialog.open({
height:350,
width: 400,
title: '添加功能点',
url: ctx + '/platform/funcPoint/edit.jsp',
load: true,
target:"

",
onClose: function () {
sub.remove();
}
});
只有设置一个target,则不会出现这样的问题

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
JavaScript
1
https://gitee.com/ligerui/LigerUI.git
git@gitee.com:ligerui/LigerUI.git
ligerui
LigerUI
LigerUI

Search