remove method
移除路由缓存
Implementation
void remove(String routePath) {
Route? route;
_routeMap.forEach((key, value) {
var signList = key.split("#hash#");
if (signList[0] == routePath) {
route = value;
return;
}
});
_remove(route);
}