* Fix product link project bug.

This commit is contained in:
sunguangming
2023-07-06 14:56:21 +08:00
parent 7666c32db5
commit 94a5f8ee18
+5 -1
View File
@@ -32,9 +32,13 @@ $(function()
products.push(currentProductID);
branches.push(currentBranchID);
const formData = new FormData();
formData.append('products', products);
formData.append('branch', branches);
$.ajaxSubmit({
url: $.createLink('project', 'manageProducts', 'projectID=' + selectProjectID),
data: {'products' : products, 'branch' : branches},
data: formData,
load: true
});
});