mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-10 20:02:54 +00:00
优化
This commit is contained in:
parent
6bd4aef03b
commit
79fd3b9093
2
packages/vite-plugin/dist/index.js
vendored
2
packages/vite-plugin/dist/index.js
vendored
@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user