。。。因为先加载了JS,然后JS被覆盖了,所以要么写在html代码后面,要么设置延迟。 https://blog.youkuaiyun.com/aerchi/article/details/79715044