diff --git a/rc-busness/app.html b/rc-busness/app.html
new file mode 100644
index 00000000..cf5975e7
--- /dev/null
+++ b/rc-busness/app.html
@@ -0,0 +1,9 @@
+
+
+
+ {{ HEAD }}
+
+
+ {{ APP }}
+
+
\ No newline at end of file
diff --git a/rc-busness/app/views/error.html b/rc-busness/app/views/error.html
new file mode 100644
index 00000000..15794e35
--- /dev/null
+++ b/rc-busness/app/views/error.html
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
检测到系统错误
+
+ 请联系管理员或尝试其他操作
+
+
回到首页
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rc-busness/layouts/error.vue b/rc-busness/layouts/error.vue
new file mode 100644
index 00000000..506a8797
--- /dev/null
+++ b/rc-busness/layouts/error.vue
@@ -0,0 +1,67 @@
+
+
+

+
+
{{ error.statusCode }} 找不到指定页面
+
+
+
+
+
{{ error.statusCode }} 发现未知错误
+
+ 返回首页
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rc-busness/pages/productdetails/producted.vue b/rc-busness/pages/productdetails/producted.vue
index 9f11234e..e63edceb 100644
--- a/rc-busness/pages/productdetails/producted.vue
+++ b/rc-busness/pages/productdetails/producted.vue
@@ -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/',