fix(client): Fix #6698

This commit is contained in:
syuilo 2020-09-11 21:50:44 +09:00
parent 925868dcdb
commit e29b5c2326

View file

@ -64,7 +64,13 @@ export default Vue.extend({
}
},
created() {
this.hide = this.image.isSensitive && !this.$store.state.device.alwaysShowNsfw;
// Plugin:register_note_view_interruptor 使watch
this.$watch('image', () => {
this.hide = this.image.isSensitive && !this.$store.state.device.alwaysShowNsfw;
}, {
deep: true,
immediate: true,
});
},
methods: {
onClick() {