diff --git a/mall4uni/pages/index/index.vue b/mall4uni/pages/index/index.vue index 409429e..30d8262 100644 --- a/mall4uni/pages/index/index.vue +++ b/mall4uni/pages/index/index.vue @@ -58,7 +58,7 @@ - + {{item.title}} @@ -87,7 +87,7 @@ - + {{item.title}} @@ -123,7 +123,7 @@ - + {{item.title}} @@ -334,7 +334,6 @@ export default { this.setData({ taglist: res }); - for (var i = 0; i < res.length; i++) { this.updata = false this.updata = true diff --git a/mall4v/src/components/mul-pic-upload/index.vue b/mall4v/src/components/mul-pic-upload/index.vue index 1c6177b..96a64ea 100644 --- a/mall4v/src/components/mul-pic-upload/index.vue +++ b/mall4v/src/components/mul-pic-upload/index.vue @@ -64,7 +64,7 @@ this.$message.error('上传头像图片大小不能超过 2MB!') this.$message.error('上传图片大小不能超过 2MB!') } - return isLt2M + // return isLt2M return isLt2M && isJPG }, handleRemove (file, fileList) { diff --git a/mall4v/src/views/modules/prod/prodInfo.vue b/mall4v/src/views/modules/prod/prodInfo.vue index a56fdb4..15264aa 100644 --- a/mall4v/src/views/modules/prod/prodInfo.vue +++ b/mall4v/src/views/modules/prod/prodInfo.vue @@ -13,6 +13,7 @@ - +