做了相应的浏览器兼容
Signed-off-by: lanjeason <lanjeason@gmail.com>