diff --git a/src/views/home/data_tables.vue b/src/views/home/data_tables.vue
index 5662556..fb6f580 100644
--- a/src/views/home/data_tables.vue
+++ b/src/views/home/data_tables.vue
@@ -87,11 +87,11 @@
-->
-
+
diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue
index c9e8e57..a0c6356 100644
--- a/src/views/product/add_shop.vue
+++ b/src/views/product/add_shop.vue
@@ -701,7 +701,7 @@ export default {
if (faild) {
this.loading = true;
this.form.images = arr
- this.form.lowPrice = this.form.skuList[0].salePrice;
+ this.form.lowPrice = this.form.skuList.length && this.form.skuList[0].salePrice;
this.form.coverImg = this.form.images[0];
this.form.selectSpec = JSON.stringify(this.selectSpec);
this.form.specTableHeaders = JSON.stringify(this.specTableHeaders);
@@ -755,8 +755,8 @@ export default {
this.shopTypesActive = index;
const typeEnum = this.shopTypes[index].typeEnum;
this.form.typeEnum = typeEnum;
-
if (typeEnum == "sku") {
+ this.form.skuList = [];
this.tbProductSpecGet();
} else {
this.specId = "";