公共方法(addFull添加信息 全屏)在无参数时没有替换url中参数字符为空的问题
This commit is contained in:
parent
3e37ba5f1f
commit
9dc8e23b2b
|
|
@ -1046,7 +1046,7 @@ var table = {
|
|||
// 添加信息 全屏
|
||||
addFull: function(id) {
|
||||
table.set();
|
||||
var url = $.common.isEmpty(id) ? table.options.createUrl : table.options.createUrl.replace("{id}", id);
|
||||
var url = $.common.isEmpty(id) ? table.options.createUrl.replace("{id}", "") : table.options.createUrl.replace("{id}", id);
|
||||
$.modal.openFull("添加" + table.options.modalName, url);
|
||||
},
|
||||
// 添加访问地址
|
||||
|
|
|
|||
Loading…
Reference in New Issue