yandere_fe/src/components/attachment/attachment.js

22 lines
298 B
JavaScript
Raw Normal View History

2016-10-28 09:08:03 -07:00
import nsfwImage from '../../assets/nsfw.jpg'
const Attachment = {
props: [
'attachment',
'nsfw'
],
data: () => ({ nsfwImage }),
computed: {
type () {
return 'image'
}
},
methods: {
showNsfw () {
this.nsfw = false
}
}
}
export default Attachment