|
|
@@ -263,9 +263,9 @@ const openEditor = (url: string, title: string) => {
|
|
|
handleWriting(assignmentId)
|
|
|
} else if(props.role == 'teachers'){
|
|
|
changeDialog('edit', assignmentId, type)
|
|
|
- if(type === '写作'){
|
|
|
+ if(type === '写作' || type == 'writing'){
|
|
|
writingVisible.value = true;
|
|
|
- } else if(type === 'AI口语'){
|
|
|
+ } else if(type === 'AI口语' || type == 'speaking'){
|
|
|
AISpeakingVisible.value =true;
|
|
|
}
|
|
|
}
|