mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 00:36:46 +08:00
-- fix bug
This commit is contained in:
@@ -3511,7 +3511,7 @@ export default defineComponent({
|
||||
return message.warning("请输入必填项");
|
||||
}
|
||||
|
||||
if (!state.validated == 2) {
|
||||
if (state.validated !== 2) {
|
||||
message.destroy();
|
||||
return message.warning("该课程名称已存在");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user