diff --git a/lib/json-viewer.vue b/lib/json-viewer.vue index 016b710..e937eef 100644 --- a/lib/json-viewer.vue +++ b/lib/json-viewer.vue @@ -101,7 +101,6 @@ export default { methods: { onResized () { this.$nextTick(() => { - console.log(this.$refs.jsonBox.$el.clientHeight) if (this.$refs.jsonBox.$el.clientHeight >= 250) { this.expandableCode = true } else { diff --git a/package.json b/package.json index e2a808e..8f83f84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-json-viewer", - "version": "2.1.1", + "version": "2.1.2", "description": "vuejs展示json的组件", "main": "dist/vue-json-viewer.js", "files": [