Skip to content

Commit

Permalink
lib支持设置isView属性
Browse files Browse the repository at this point in the history
  • Loading branch information
Nayacco committed Sep 29, 2020
1 parent 4e3574e commit 09465d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Lib.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:users="users"
:groups="groups"
:categorys="categorys"
:is-view="isView"
/>
</div>
</template>
Expand All @@ -21,7 +22,8 @@ export default {
xml: '', // 后端查询到的xml
users: [],
groups: [],
categorys: []
categorys: [],
isView: false
}
},
mounted() {
Expand All @@ -35,6 +37,7 @@ export default {
this.users = eventData.users ?? []
this.groups = eventData.groups ?? []
this.categorys = eventData.categorys ?? []
this.isView = eventData.isView ?? false
}
}
}
Expand Down

0 comments on commit 09465d7

Please sign in to comment.