@@ -1694,7 +1694,7 @@ export default {
this.width = `${totalWidth - (this.data.property.sn_display_mode === 'true' ? 15 : 0)}`;
});
- this.dataHeight = this.$refs.previewContainer.style.height;
+ this.dataHeight = this.$refs.previewContainer ? this.$refs.previewContainer.style.height : 0;
},
methods: {
handleShow(obj) {