This commit is contained in:
yumoqing 2026-04-22 10:37:35 +08:00
parent 2a5865b940
commit da5d8da243

View File

@ -409,6 +409,7 @@ _buildDataHandler = async function(obj, from_widget, target, options, desc){
var method = options.method || 'GET'; var method = options.method || 'GET';
if (options.params instanceof FormData) { if (options.params instanceof FormData) {
method = 'POST'; method = 'POST';
}
var data = await jc.httpcall(url, { var data = await jc.httpcall(url, {
method: method, method: method,
params: options.params params: options.params