浏览代码

上架商品报错提示

baijunde 9 月之前
父节点
当前提交
186f2f93dc
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/product/index.vue

+ 8 - 0
pages/product/index.vue

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