作者 lyh

gx

... ... @@ -54,7 +54,7 @@ class RouteMap extends Base
* @date 2023/4/17
*/
public static function generateRoute($title, $source, $source_id, $project_id){
if(!ctype_alpha($title)){
if(!preg_match('/^[a-zA-Z]$/', $title)){
$title = Translate::tran($title, 'en');
}
$i=1;
... ...