fix:修改学习路径学习模式切换

This commit is contained in:
wyx
2023-02-16 19:04:44 +08:00
parent 40dc5f939e
commit af6ad627f9
2 changed files with 15 additions and 5 deletions

View File

@@ -123,7 +123,7 @@
<a-select-option :value="2">闯关模式</a-select-option>
<a-select-option :value="3">闯关模式</a-select-option>
</a-select>
<unlock-mode :routerInfo="routerInfo.routerInfo">
<unlock-mode :routerInfo="routerInfo.routerInfo" :types="types">
<a-button type="primary" size="large" style="border-radius: 8px;margin-left: 24px;">切换模式
</a-button>
</unlock-mode>
@@ -462,6 +462,7 @@ const confirmLoading = ref(false)
const moveChapterIndex = ref('')
const activeIndex = ref(0)
const deleteIndex = ref(0)
const types = 1 // 1 路径图 2 项目
const courseRef = ref({})
const formValue = ref({draftTaskList: []})