This commit is contained in:
Pengxiansen
2025-02-21 14:04:17 +08:00
parent 3e86caab15
commit 01ab826dcf
17 changed files with 107 additions and 75 deletions

View File

@@ -25,7 +25,7 @@
<a-input
v-model:value="params.name"
style="width: 220px; height: 40px; border-radius: 8px"
placeholder="请输入创建人"
placeholder="请输入名称"
maxlength="20"
/>
</div>
@@ -78,10 +78,9 @@
</div>
</div>
</div>
<div class="main_btns">
<!-- <div class="main_btns">
<button @click="closeDrawer" class="btn2">取消</button>
<button @click="confirm" class="btn2">确定</button>
</div>
</div> -->
</div>
<template v-if="step == 2">
@@ -897,12 +896,10 @@ const closeDrawer = () => {
type: props.type,
offcourseId: params.value.offcourseId,
});
emit("refresh");
}
};
const emit = defineEmits(["call-parent-method"]);
const confirm = async () => {
closeDrawer();
};
const emit = defineEmits(["call-parent-method", "refresh"]);
const createNewCourse = () => {
changeName.value = true;