Ver código fonte

上架商品报错提示

baijunde 10 meses atrás
pai
commit
186f2f93dc
1 arquivos alterados com 8 adições e 0 exclusões
  1. 8 0
      pages/product/index.vue

+ 8 - 0
pages/product/index.vue

@@ -468,6 +468,14 @@
 							});
 							this.isSell = false
 							this.sellProducts = []
+						}else{
+							uni.showToast({
+								title: res.data.message,
+								duration: 2000,
+								icon: 'none'
+							});
+							this.isSell = false
+							this.sellProducts = []
 						}
 					})
 			},