提交 77def1e8 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 ed39deec
...@@ -318,6 +318,7 @@ export default { ...@@ -318,6 +318,7 @@ export default {
if (res.code == '000000') { if (res.code == '000000') {
this.stock = res.data.stock; this.stock = res.data.stock;
this.isDisabled = !this.stock; this.isDisabled = !this.stock;
// 提示活动结束
if (!this.stock) { if (!this.stock) {
this.$toast('活动已经结束'); this.$toast('活动已经结束');
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册