1,ie 10下实现水平垂直居中,不固定高度的话,正常的top:50%,left:50%,transform(translate(-50%,-50%)) 是不能实现的,ie下top:50%会失去效果。
解决方案:
top:inherit
2.axios在ie下进行get请求时,会出现有缓存的现象,数据更新后自动从缓存中调取数据,失去实时更新的效果
解决方案:在axios的get的请求头中加入:
axios.defaults.headers.get['Cache-Control'] = 'no-cache' axios.defaults.headers.get['Pragma'] = 'no-cache'
待更新。