本地生活商品允许修改规格

This commit is contained in:
wangxiaowei 2024-09-25 12:28:50 +08:00
parent 61af8cb2ed
commit fb45d0cb09

@ -213,9 +213,9 @@
// 上传规格图片
uploadImage(i){
if (this.orderType == 1 || this.orderType == 2) return this.$toast({
title: '该状态下无法修改图片'
})
// if (this.orderType == 1 || this.orderType == 2) return this.$toast({
// title: '该状态下无法修改图片'
// })
if (this.lstoreId == 0) return this.$toast({
title: '商家ID为空'
@ -224,7 +224,7 @@
const path = this.aliOSSpath + this.lstoreId + '/spec/'
uni.chooseImage({
count: 1,
sizeType:['original', 'compressed'],
sizeType:['compressed'],
success: async (file) => {
uni.showLoading({
title: '上传中...'