选择按钮回显名称,message提示统一warning

This commit is contained in:
zhangyc
2022-12-06 07:58:01 +08:00
parent 730f29c1ba
commit 63ba48e539
15 changed files with 109 additions and 197 deletions

View File

@@ -212,7 +212,7 @@ export default {
const minChange = (e) => {
if (e > curItem.value.maxScore)
return message.info("最低分不能超过最高分");
return message.warning("最低分不能超过最高分");
curItem.value.minScore = e;
let arr = state.scoreListClone.concat([]);
arr.map((value, index) => {
@@ -224,7 +224,7 @@ export default {
};
const maxChange = (e) => {
if (e < curItem.value.minScore)
return message.info("最高分不能低于最低分");
return message.warning("最高分不能低于最低分");
curItem.value.maxScore = e;
let arr = state.scoreListClone.concat([]);
arr.map((value, index) => {