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

bug fixes

上级 0b71068a
...@@ -56,10 +56,7 @@ export default { ...@@ -56,10 +56,7 @@ export default {
}) })
}, },
getList() { getList() {
if (this.affairTypes.length) { if (!this.affairTypes.length) {
const [first] = this.affairTypes
this.radio = first.id
} else {
this.$store.dispatch('getAffairTypes') this.$store.dispatch('getAffairTypes')
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论