This commit is contained in:
齐天大圣 2024-03-27 10:12:33 +08:00
parent fa268dc54a
commit 2e0049712d

View File

@ -231,13 +231,16 @@
let storeId = "19";
let staffId = "";
let sn = "";
if (str.includes("&")) {
let arr = str.split("&");
arr.forEach(item => {
if (item.includes("storeId")) {
storeId = item.split("=")[1]
} else {
} else if (item.includes("staffId")) {
staffId = item.split("=")[1]
} else {
sn = item.split("=")[1]
}
})
} else {