在代码中加上:<meta http-equiv="X-UA-Compatible"content="IE=edge"/>或者<meta http-equiv="X-UA-Compatible"content="IE=9"/>