mirror of https://gitee.com/y_project/RuoYi.git
公共方法(addFull添加信息 全屏)在无参数时没有替换url中参数字符为空的问题
parent
d6a2d09f95
commit
681fddc387
|
@ -1046,8 +1046,7 @@ var table = {
|
||||||
// 添加信息 全屏
|
// 添加信息 全屏
|
||||||
addFull: function(id) {
|
addFull: function(id) {
|
||||||
table.set();
|
table.set();
|
||||||
var url = $.common.isEmpty(id) ? table.options.createUrl : table.options.createUrl.replace("{id}", id);
|
$.modal.openFull("添加" + table.options.modalName, $.operate.addUrl(id));
|
||||||
$.modal.openFull("添加" + table.options.modalName, url);
|
|
||||||
},
|
},
|
||||||
// 添加访问地址
|
// 添加访问地址
|
||||||
addUrl: function(id) {
|
addUrl: function(id) {
|
||||||
|
|
Loading…
Reference in New Issue