This commit is contained in:
icssoa 2025-07-25 11:11:18 +08:00
parent 6bd4aef03b
commit 79fd3b9093
3 changed files with 3 additions and 3 deletions

View File

@ -846,7 +846,7 @@
} }
}); });
if (config.type == "uniapp-x" || config.type == "app") { if (config.type == "uniapp-x" || config.type == "app") {
list = list.filter((e) => e.prefix.startsWith("/app")); list = list.filter((e) => e.prefix.startsWith("/app") || e.prefix.startsWith("/admin"));
} }
} }
/** /**

View File

@ -1,6 +1,6 @@
{ {
"name": "@cool-vue/vite-plugin", "name": "@cool-vue/vite-plugin",
"version": "8.2.3", "version": "8.2.4",
"description": "cool-admin、cool-uni builder", "description": "cool-admin、cool-uni builder",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"main": "/dist/index.js", "main": "/dist/index.js",

View File

@ -182,7 +182,7 @@ async function getData() {
}); });
if (config.type == "uniapp-x" || config.type == "app") { if (config.type == "uniapp-x" || config.type == "app") {
list = list.filter((e) => e.prefix.startsWith("/app")); list = list.filter((e) => e.prefix.startsWith("/app") || e.prefix.startsWith("/admin"));
} }
} }