var IndexPage = { template: '
\
\ \ \ \
\
\ \ \ \
\
', props: [], data: function() { return { } }, created: function() { var vm = this }, mounted: function() { var vm = this var leftPanel = vm.$refs.leftPanel var rightPanel = vm.$refs.rightPanel $(leftPanel).height($(window).height()) $(rightPanel).height($(window).height()) window.addEventListener('resize', _.debounce(function() { $(leftPanel).height($(window).height()) $(rightPanel).height($(window).height()) }, 300)) }, methods: { } }