|
|
@@ -96,6 +96,13 @@ export default {
|
|
|
methods: {
|
|
|
//
|
|
|
init() {
|
|
|
+ this.questionType = ""
|
|
|
+ this.questionStem = ""
|
|
|
+ for (let questionOptionsKey in this.questionOptions) {
|
|
|
+ this.questionOptions[questionOptionsKey] = ""
|
|
|
+ }
|
|
|
+ this.questionAnswer = ""
|
|
|
+ this.questionAnalysis = ""
|
|
|
},
|
|
|
|
|
|
//
|
|
|
@@ -170,6 +177,9 @@ export default {
|
|
|
createdTime: null
|
|
|
}
|
|
|
// todo 调用后端
|
|
|
+
|
|
|
+ // init
|
|
|
+ this.init()
|
|
|
}
|
|
|
},
|
|
|
computed: {
|