I have a parent route in the vue-cli project, and there are several child routes below. As shown in the following figure
now I want to set up the route guard, is the entire route set must be judged by the same condition, the route guard can only write on it? I want to write it only once, not to set up each child route separately.