本地生活商品允许修改规格
This commit is contained in:
parent
61af8cb2ed
commit
fb45d0cb09
@ -213,9 +213,9 @@
|
|||||||
|
|
||||||
// 上传规格图片
|
// 上传规格图片
|
||||||
uploadImage(i){
|
uploadImage(i){
|
||||||
if (this.orderType == 1 || this.orderType == 2) return this.$toast({
|
// if (this.orderType == 1 || this.orderType == 2) return this.$toast({
|
||||||
title: '该状态下无法修改图片'
|
// title: '该状态下无法修改图片'
|
||||||
})
|
// })
|
||||||
|
|
||||||
if (this.lstoreId == 0) return this.$toast({
|
if (this.lstoreId == 0) return this.$toast({
|
||||||
title: '商家ID为空'
|
title: '商家ID为空'
|
||||||
@ -224,7 +224,7 @@
|
|||||||
const path = this.aliOSSpath + this.lstoreId + '/spec/'
|
const path = this.aliOSSpath + this.lstoreId + '/spec/'
|
||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
count: 1,
|
count: 1,
|
||||||
sizeType:['original', 'compressed'],
|
sizeType:['compressed'],
|
||||||
success: async (file) => {
|
success: async (file) => {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '上传中...'
|
title: '上传中...'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user