提交 ca0e7a92 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 70416499
...@@ -138,11 +138,8 @@ export default { ...@@ -138,11 +138,8 @@ export default {
} }
}, },
groups: { groups: {
immediate: true,
handler(groups) { handler(groups) {
if (groups.length) { this.questionGroups = groups
this.questionGroups = groups
}
} }
}, },
groupPage(value) { groupPage(value) {
......
...@@ -122,6 +122,9 @@ export default { ...@@ -122,6 +122,9 @@ export default {
} }
return api.getAllQuestion(param).then(response => { return api.getAllQuestion(param).then(response => {
this.allQuestionList = response.list this.allQuestionList = response.list
if (!this.allQuestionList.length) {
this.handleBack()
}
}) })
}, },
// 清空 // 清空
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论