mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
@@ -123,6 +123,7 @@ export default {
|
|||||||
},
|
},
|
||||||
debResized() {
|
debResized() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
if (!this.$refs.jsonBox) return;
|
||||||
if (this.$refs.jsonBox.$el.clientHeight >= 250) {
|
if (this.$refs.jsonBox.$el.clientHeight >= 250) {
|
||||||
this.expandableCode = true
|
this.expandableCode = true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user