Commit 62d77cb5 by 李伟康

提交

1 parent 78d96121
...@@ -29,8 +29,8 @@ export default { ...@@ -29,8 +29,8 @@ export default {
}, },
watch: { watch: {
'show' (n) { 'show' (n) {
let { groupInfo } = this // let { groupInfo } = this
if (n && groupInfo.groupList && groupInfo.groupList.length) this.setList(groupInfo.groupList) // if (n && groupInfo.groupList && groupInfo.groupList.length) this.setList(groupInfo.groupList)
} }
}, },
data () { data () {
...@@ -41,6 +41,8 @@ export default { ...@@ -41,6 +41,8 @@ export default {
}, },
mounted () { mounted () {
this.$refs.groupBox.style.display = 'none' this.$refs.groupBox.style.display = 'none'
let { groupInfo } = this
if (this.show && groupInfo.groupList && groupInfo.groupList.length) this.setList(groupInfo.groupList)
}, },
methods: { methods: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!