zova-ui-empty 5.0.232 → 5.0.234

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/.env CHANGED
@@ -28,6 +28,7 @@ PROXY_API_BASE_URL = http://localhost:$MOCK_BUILD_PORT
28
28
  PROXY_API_PREFIX = $API_PREFIX
29
29
 
30
30
  SSR_COOKIE_THEMENAME = false
31
+ SSR_COOKIE_THEMEDARK = false
31
32
  SSR_BODYHIDDENBEFORELOAD = true
32
33
  SSR_API_BASE_URL = http://localhost:$DEV_SERVER_PORT
33
34
  SSR_PROD_PORT = 3000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-ui-empty",
3
- "version": "5.0.232",
3
+ "version": "5.0.234",
4
4
  "description": "A vue3 empty framework with ioc",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,11 +39,11 @@
39
39
  "vue": "^3.4.29",
40
40
  "vue-router": "^4.3.3",
41
41
  "zod": "^3.23.8",
42
- "zova": "^5.0.168",
42
+ "zova": "^5.0.170",
43
43
  "zova-module-a-model": "^5.0.22",
44
44
  "zova-module-a-pinia": "^5.0.24",
45
45
  "zova-module-a-router": "^5.0.58",
46
- "zova-module-a-style": "^5.0.27",
46
+ "zova-module-a-style": "^5.0.28",
47
47
  "zova-module-a-tabs": "^5.0.18"
48
48
  },
49
49
  "devDependencies": {
@@ -58,5 +58,5 @@
58
58
  "zova-vite": "^1.0.149"
59
59
  },
60
60
  "license": "MIT",
61
- "gitHead": "e80e5c322fe23b4ae98dc05d35fb56501543d911"
61
+ "gitHead": "f810d92f5bb294d7f1dedb7ab0b7c6f5173cfedf"
62
62
  }
@@ -13,7 +13,7 @@ export class BeanApi extends BeanBase {
13
13
  private [SymbolApi]: AxiosInstance;
14
14
 
15
15
  protected async __init__() {
16
- const baseURL = `${this.app.config.api.baseURL || ''}${this.app.config.api.prefix || ''}/`;
16
+ const baseURL = this.app.meta.util.getApiBaseURL();
17
17
  this[SymbolApi] = markRaw(axios.create({ baseURL }));
18
18
  this._addInterceptors(this[SymbolApi]);
19
19
  }