layui 表格解密
This commit is contained in:
parent
53787610ab
commit
784c8c6f74
|
|
@ -47,7 +47,17 @@ layui.use(['layer', 'element', 'table'], function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// $('#ID-laydate-type-datetime').val(getNowDay());
|
// $('#ID-laydate-type-datetime').val(getNowDay());
|
||||||
|
// 响应成功后的拦截器
|
||||||
|
$.ajaxSetup({
|
||||||
|
beforeSend: function(xhr, options) {
|
||||||
|
var originalSuccess = options.success
|
||||||
|
options.success = function(data, textStatus, jqXhr) {
|
||||||
|
data = modifyResponseData(data);
|
||||||
|
// success(data,textStatus, jqXhr);
|
||||||
|
originalSuccess.apply(this, arguments)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
//下拉选
|
//下拉选
|
||||||
getConstruction();
|
getConstruction();
|
||||||
getRegion();
|
getRegion();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue