shish 1 månad sedan
förälder
incheckning
5906ec5522
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      hdApp/src/admin/member/level.vue

+ 1 - 2
hdApp/src/admin/member/level.vue

@@ -212,8 +212,7 @@ export default {
 				const prevDiscount = this.getEffectiveDiscount(prevItem);
 				const prevDiscount = this.getEffectiveDiscount(prevItem);
 				const currDiscount = this.getEffectiveDiscount(currItem);
 				const currDiscount = this.getEffectiveDiscount(currItem);
 				if (currDiscount > prevDiscount) {
 				if (currDiscount > prevDiscount) {
-					const prevLabel = prevItem.discountEnabled ? `${prevDiscount}折` : '无折扣';
-					this.$msg(`${currItem.name}的折扣不能高于${prevItem.name}(${prevLabel})`);
+					this.$msg(`${currItem.name}的折扣不能高于${prevItem.name}`);
 					return false;
 					return false;
 				}
 				}
 			}
 			}