方法一:

let body = document.getElementsByTagName("body")[0]

方法二:

let body = document.body