@@ -9,6 +9,7 @@ import type {
const DEFAULT_CONFIG: TopicDiscussionConfig = {
topic: 'How I get to school',
+ grade: 'grade5-1',
selectedRole: 'tom',
learningGoals: {
vocabulary: ['on foot', 'by bus', 'by bike', 'by car', 'by underground', 'bus stop', 'near', 'far from'],
@@ -81,6 +82,11 @@ export const useSpeakingStore = defineStore('speaking', {
this.config.topic = topic
},
+ // 年级
+ updateGrade(grade: string) {
+ this.config.grade = grade
+ },
+
// 学习目标 - 词汇
addVocabulary(word: string) {
this.config.learningGoals.vocabulary.push(word)