把要抓取的DOM上下 ref="name"; 在vue裡用 this.$refs.name 就可以抓到DOM嚕. 在nuxt的 asyncData 中是抓不到ref的, ... clientHeight }. 然後在更新對話資料之後執行
確定! 回上一頁