Последняя версия с сервера прошлого разработчика
This commit is contained in:
44
resources/js/Shared/Notification/NotifyText.vue
Executable file
44
resources/js/Shared/Notification/NotifyText.vue
Executable file
@@ -0,0 +1,44 @@
|
||||
<template>
|
||||
<component
|
||||
:is="currentNotify"
|
||||
></component>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NotifyTextLike from '@/Shared/Notification/NotifyTextLike.vue'
|
||||
import NotifyTextComment from '@/Shared/Notification/NotifyTextComment.vue'
|
||||
import NotifyTextSubs from '@/Shared/Notification/NotifyTextSubs.vue'
|
||||
import NotifyTextLeader from '@/Shared/Notification/NotifyTextLeader.vue'
|
||||
import NotifyTextPurchase from '@/Shared/Notification/NotifyTextPurchase.vue'
|
||||
import NotifyTextRemoveFeed from '@/Shared/Notification/NotifyTextRemoveFeed.vue'
|
||||
import NotifyTextCustomPaidSubs from '@/Shared/Notification/NotifyTextCustomPaidSubs.vue'
|
||||
import NotifyTextBannedMessageFeed from '@/Shared/Notification/NotifyTextBannedMessageFeed.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
NotifyTextLike,
|
||||
NotifyTextComment,
|
||||
NotifyTextSubs,
|
||||
NotifyTextLeader,
|
||||
NotifyTextPurchase,
|
||||
NotifyTextRemoveFeed,
|
||||
NotifyTextCustomPaidSubs,
|
||||
NotifyTextBannedMessageFeed,
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
content: this.content
|
||||
}
|
||||
},
|
||||
props: {
|
||||
type: String,
|
||||
content: Object,
|
||||
},
|
||||
computed: {
|
||||
currentNotify() {
|
||||
return 'notify-text-' + this.type
|
||||
},
|
||||
},
|
||||
methods: {},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user