Umijs dva automatically generates routing problems

my directory is as follows:

+blocks
  - $id
    - models
       - detail.js
    - index.js
    - index.less

I see a umi+dva backend, which will automatically generate the following routes, but my directory structure configuration can never be generated automatically. It will only be generated automatically if I write in a directory below page. Any JS or folders I add under page > blocks will not update the route automatically. Is there any solution

?
{ 
    "path": "/blocks/:id", 
    "exact": true, 
    "component": require("../blocks/$id/index.js").default 
},
Mar.18,2021

I also have a similar problem. How did the landlord solve it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be6fd0-46883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be6fd0-46883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?