Commit b76a84e6 authored by 黄奎's avatar 黄奎

页面修改

parent 74dd1f9f
...@@ -453,20 +453,26 @@ ...@@ -453,20 +453,26 @@
watch: { watch: {
'ChooseItem.Title': { 'ChooseItem.Title': {
handler(newValue) { handler(newValue) {
this.ChooseItem.ShowTitle = this.getRegItem(newValue); if (this.ChooseItem) {
this.ChooseItem.ShowTitle = this.getRegItem(newValue);
}
}, },
deep: true deep: true
}, },
'ChooseItem.Score': { 'ChooseItem.Score': {
handler(newValue) { handler(newValue) {
this.ChooseItem.Score = newValue; if (this.ChooseItem) {
this.calcPaper(); this.ChooseItem.Score = newValue;
this.calcPaper();
}
}, },
deep: true deep: true
}, },
'ChooseItem.QuestionContentObj': { 'ChooseItem.QuestionContentObj': {
handler(newValue) { handler(newValue) {
this.ChooseItem.QuestionContentObj = newValue; if (this.ChooseItem) {
this.ChooseItem.QuestionContentObj = newValue;
}
}, },
deep: true deep: true
} }
...@@ -856,6 +862,8 @@ ...@@ -856,6 +862,8 @@
path: '/exam/examPaper', path: '/exam/examPaper',
query: {} query: {}
}); });
// this.ChooseItem = null;
// this.GetPaperInfo();
} else { } else {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment