feat:增加学习路径图学习模式切换

This commit is contained in:
wyx
2023-02-16 18:24:37 +08:00
parent 31ef85f566
commit 36f763559b
3 changed files with 16 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ export default {
],
selectClassifyType: 1,
checked: true,
radioSelect: 1,
radioSelect: 2,
formData: {
unlockMode:'',
}
@@ -141,6 +141,10 @@ export default {
if(e.type === 1){
state.formData.unlockMode = e.type
}
// 当为学习路径图时候 直接默认第一个选项 不用选中
if(e.type==2 && props.types==1){
state.formData.unlockMode = e.type
}
};
const changeUnlockMode = (e) =>{