* zin: refactor.

This commit is contained in:
sunhao
2024-05-21 14:53:20 +08:00
parent f2a71af78a
commit ed33e808e8
+1 -1
View File
@@ -981,7 +981,7 @@
options = selector;
selector = null;
}
options = $.extend({url: url, selector: selector, method: 'POST', data, contentType: false}, options);
options = $.extend({url: url, selector: selector, method: 'POST', data: data, contentType: false}, options);
if(options.dataMap)
{
options.data = zui.createFormData(zui.mapFormData(options.dataMap), options.data);