Ver Fonte

fixed:尝试修复点击分组无法展开的问题

Yin Bin há 4 meses atrás
pai
commit
0b0d202f50
3 ficheiros alterados com 12 adições e 3 exclusões
  1. 0 1
      .vscode/extensions.json
  2. 4 1
      .vscode/settings.json
  3. 8 1
      config/scribe.php

+ 0 - 1
.vscode/extensions.json

@@ -26,5 +26,4 @@
         "naumovs.color-highlight",
         "genuitecllc.codetogether"
     ],
-    "unwantedRecommendations": []
 }

+ 4 - 1
.vscode/settings.json

@@ -89,5 +89,8 @@
     "files.autoSaveWhenNoErrors": true,
     "files.autoSaveWorkspaceFilesOnly": true,
     "editor.formatOnSave": true,
-    "i18n-ally.sourceLanguage": "zh"
+    "extensions.experimental.useUtilityProcess": true,
+    "i18n-ally.sourceLanguage": "zh",
+    "codetogether.virtualCursorJoin": "sharedVirtualCursor",
+    "codetogether.virtualCursorRemember": true
 }

+ 8 - 1
config/scribe.php

@@ -4,7 +4,7 @@ use Knuckles\Scribe\Extracting\Strategies;
 
 return [
     'title' => 'Owl Admin API Documentation',
-    
+
     'description' => 'Owl Admin API 接口文档',
 
     'base_url' => null,
@@ -145,4 +145,11 @@ return [
         // If you are using a custom serializer with league/fractal, you can specify it here.
         'serializer' => null,
     ],
+
+    // 添加以下配置以确保目录树可以展开
+    'groups' => [
+        'enabled' => true,
+        'default_group' => 'Endpoints',
+        'sort' => 'asc',
+    ],
 ];