removeLayer的循环有i++改为i--