新增方法$.operate.get(url)

This commit is contained in:
RuoYi
2018-12-25 23:24:38 +08:00
parent c404de1773
commit 9d5a702e1f
2 changed files with 5 additions and 1 deletions

View File

@ -424,6 +424,10 @@
post: function(url, data) {
$.operate.submit(url, "post", "json", data);
},
// get请求传输
get: function(url) {
$.operate.submit(url, "get", "json", "");
},
// 详细信息
detail: function(id, width, height) {
var _url = $.common.isEmpty(id) ? $.table._option.detailUrl : $.table._option.detailUrl.replace("{id}", id);