Commit 6b583501 by caoyanzhi

update: 调整会员卡上限

parent 46ce21c6
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
}); });
}, },
addCard(type) { addCard(type) {
if (this.tableData.length===10) return this.$message.warning('每个卡类型最多可创建10张会员卡') if (this.tableData.length >= 20) return this.$message.warning('每个卡类型最多可创建20张会员卡')
this.$emit('add', type); this.$emit('add', type);
}, },
editSort() { editSort() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment