在vue專案中需要監聽window視窗變化來時時計算圖片的高度,於是就加了一個監聽事件; ... removeEventListener( 'resize' , this .resize,methods: { ...
確定! 回上一頁