mooho-base-admin-plus 0.1.47 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +3 -0
- package/dist/mooho-base-admin-plus.min.esm.js +6 -5
- package/dist/mooho-base-admin-plus.min.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/test/main.js +0 -3
- package/.env.development +0 -4
- package/.env.production +0 -4
package/.env
CHANGED
|
@@ -4057,8 +4057,6 @@ var api = init$4(defaultConverter, { path: '/' });
|
|
|
4057
4057
|
* Admin Plus 业务配置
|
|
4058
4058
|
* */
|
|
4059
4059
|
|
|
4060
|
-
const basePath = "import.meta.env.VITE_APP_BASE_PATH";
|
|
4061
|
-
|
|
4062
4060
|
const Setting = {
|
|
4063
4061
|
/**
|
|
4064
4062
|
* 基础配置
|
|
@@ -4068,7 +4066,7 @@ const Setting = {
|
|
|
4068
4066
|
// 项目的 ID
|
|
4069
4067
|
appID: 'app',
|
|
4070
4068
|
// 根目录
|
|
4071
|
-
rootPath: '/
|
|
4069
|
+
rootPath: '/static/' ,
|
|
4072
4070
|
// 网页标题的后缀,不需要设置为 false 或空
|
|
4073
4071
|
titleSuffix: 'Admin Plus',
|
|
4074
4072
|
// 路由模式,可选值为 history 或 hash
|
|
@@ -32587,11 +32585,14 @@ function PermissionDeep(per, perArry) {
|
|
|
32587
32585
|
return per;
|
|
32588
32586
|
}
|
|
32589
32587
|
|
|
32590
|
-
console.log('{"VITE_APP_BASE_PATH":"
|
|
32588
|
+
console.log('{"VITE_APP_BASE_PATH":"","BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}', {"VITE_APP_BASE_PATH":"","BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}, "/");
|
|
32591
32589
|
console.log('window.$env', window.$env);
|
|
32592
32590
|
|
|
32593
32591
|
// 根目录
|
|
32594
|
-
let base$1 = "
|
|
32592
|
+
let base$1 = "";
|
|
32593
|
+
if (!base$1) {
|
|
32594
|
+
base$1 = '';
|
|
32595
|
+
}
|
|
32595
32596
|
|
|
32596
32597
|
console.log('base', base$1);
|
|
32597
32598
|
|