16 lines
267 B
JavaScript
16 lines
267 B
JavaScript
|
|
||
|
const GlobalNoticeList = {
|
||
|
computed: {
|
||
|
notices () {
|
||
|
return this.$store.state.interface.globalNotices
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
closeNotice (notice) {
|
||
|
this.$store.dispatch('removeGlobalNotice', notice)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default GlobalNoticeList
|