Browse Source

去掉默认值

xuqiaoying 3 năm trước cách đây
mục cha
commit
44ddddcbf1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/components/goodsItem/IndexSkuDialog.vue

+ 2 - 2
src/components/goodsItem/IndexSkuDialog.vue

@@ -96,7 +96,7 @@ export default {
 			// || 35
             this.loading = true
 			this.$axios({
-				url: `/app/common/spec/${this.specTemplateId || 35}`,
+				url: `/app/common/spec/${this.specTemplateId}`,
 				method: 'get',
 				noToken: true
 			}).then((res) => {
@@ -144,7 +144,7 @@ export default {
 				url: '/app/common/attr/goods',
 				method: 'get',
 				params: {
-					specTemplateId: this.specTemplateId || 35,
+					specTemplateId: this.specTemplateId,
 					specAttrIds: specAttrIds.join(',')
 				},
 				noToken: true