Add productId data for toy, and fix submit form issues

This commit is contained in:
2024-06-23 01:35:47 +08:00
parent b2799cc6be
commit 99d63d4912
2 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -31,10 +31,11 @@ chrome.runtime.onMessage.addListener((req, sender, send) => {
send({
name,
project,
project: project.replace(":", ":"),
made: document.querySelector<HTMLDivElement>(".tagC-ip .tagC-ip-con-brand").innerText,
sale: document.querySelector<HTMLDivElement>(".item-complex:nth-child(4) .item-complex-value").innerText.replace("-", "/"),
images,
productId: new URLSearchParams(location.search).get("itemsId"),
});
}
else {