feat:合并

This commit is contained in:
lixg
2023-02-13 16:25:21 +08:00
6 changed files with 30 additions and 48 deletions

View File

@@ -539,7 +539,6 @@ export default defineComponent({
};
const visibleOpen = (offcourseId, name) => {
console.log("offcourseId", offcourseId);
state.offcourseId = offcourseId;
if (state.offcourseId) {
@@ -702,7 +701,7 @@ export default defineComponent({
message.destroy();
return message.warning("课程名称重复,请重新填写");
}
console.log("state.offcourseId", state.offcourseId);
const postData = {
id: state.offcourseId, //不传代表新增
name: state.qdms_inputV1,