Error page template added

This commit is contained in:
Vion
2022-01-23 14:55:21 +08:00
parent 2f5ef11c15
commit 477d0e8602
4 changed files with 138 additions and 2 deletions

View File

@@ -321,10 +321,14 @@ export default {
stopIndex++;
}
}
productAttachmentList = newlist[0].productAttachmentList;
if(curItem.productAttachmentList != undefined)
productAttachmentList = curItem.productAttachmentList;
if(curItem.productName == undefined)
curItem = newlist[0];
userbuy = true;
}
if(!curItem || curItem.productName == undefined)
throw new Error("The id property is missing.");
let crumbs = [
{
path:'/productdetails/productlist/',