|
@@ -2282,7 +2282,7 @@ $(document).ready(() => {
|
|
|
ctx.drawImage(img, pos.left, pos.top, img.width, img.height);
|
|
|
}
|
|
|
// 生成上传数据
|
|
|
- const updateData = {updateType: 'update', lid: data.lid};
|
|
|
+ const updateData = {updateType: 'update', lid: data.lid, pid: data.pid};
|
|
|
if (data.uuid) {
|
|
|
updateData.uuid = data.uuid;
|
|
|
} else {
|
|
@@ -2299,7 +2299,7 @@ $(document).ready(() => {
|
|
|
$('#edit-img').modal('hide');
|
|
|
});
|
|
|
} else if (data.calc_img) {
|
|
|
- postData(window.location.pathname + '/detail/merge-img', {updateType: 'clear', lid: data.lid, uuid: data.uuid}, function (result) {
|
|
|
+ postData(window.location.pathname + '/detail/merge-img', {updateType: 'clear', lid: data.lid, pid: data.pid, uuid: data.uuid}, function (result) {
|
|
|
_.assign(data, result);
|
|
|
self.reLoadDetailData();
|
|
|
$('#edit-img').modal('hide');
|