mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
--fix bug
This commit is contained in:
@@ -138,7 +138,7 @@ function confirm() {
|
||||
|
||||
function selectCourse(row) {
|
||||
console.log(row);
|
||||
if (!props.courseSyncFlag && !row.refId) {
|
||||
if (!props.courseSyncFlag && row.refId != props.id) {
|
||||
message.warning("请新建本项目在线课!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
<div class="mid">
|
||||
<div class="item" v-for="(value,key) in TASK_TYPE" :key="key">
|
||||
<component :is="value.component" :ref="el=>courseRef['el'+key]=el" :type="key" :infoType="2"
|
||||
:id="routerInfo.routerInfo?.id" :courseSyncFlag="routerInfo.routerInfo?.courseSyncFlag"
|
||||
:id="routerInfo.routerInfo?.id" :courseSyncFlag="1"
|
||||
v-model:task-list="routerInfo.chapterList[activeIndex].draftTaskList"
|
||||
:chapter-list="routerInfo.chapterList">
|
||||
<div class="itcon">
|
||||
|
||||
Reference in New Issue
Block a user