新增课程只能选一个系统

dev
yujialong 3 years ago
parent 240ddcf709
commit 5f306c9ffd
  1. 3
      src/views/course/AddCurriculum.vue

@ -501,6 +501,9 @@ export default {
if (!this.multipleSelection.length) { if (!this.multipleSelection.length) {
this.$message.warning("请选择系统!"); this.$message.warning("请选择系统!");
return; return;
} else if (this.multipleSelection.length > 1) {
this.$message.warning("最多只能选择一个系统!");
return;
} else { } else {
this.getConfigData(); this.getConfigData();
this.configVisible = false; this.configVisible = false;

Loading…
Cancel
Save