Skip to content

Commit 0194ed2

Browse files
committed
feat: util
1 parent 9489e42 commit 0194ed2

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

zova-dev/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class BeanApi extends BeanBase {
1515
private [SymbolApi]: AxiosInstance;
1616

1717
protected async __init__() {
18-
const baseURL = this.app.meta.util.getApiBaseURL();
18+
const baseURL = this.app.util.getApiBaseURL();
1919
this[SymbolApi] = markRaw(axios.create({ baseURL }));
2020
this._addInterceptors(this[SymbolApi]);
2121
}

zova-docs/guide/techniques/api/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class BeanApi {
3030
private [SymbolApi]: AxiosInstance;
3131
3232
protected async __init__() {
33-
const baseURL = this.app.meta.util.getApiBaseURL();
33+
const baseURL = this.app.util.getApiBaseURL();
3434
this[SymbolApi] = markRaw(axios.create({ baseURL }));
3535
// your custom logic maybe here
3636
}

zova-docs/guide/techniques/model/async-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class ModelTodo {
173173
```typescript
174174
async addTodo() {
175175
const todo = {
176-
id: this.app.meta.util.uuid(),
176+
id: this.app.util.uuid(),
177177
title: this.newTitle,
178178
done: false,
179179
};

zova-docs/zh/guide/techniques/api/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class BeanApi {
3030
private [SymbolApi]: AxiosInstance;
3131
3232
protected async __init__() {
33-
const baseURL = this.app.meta.util.getApiBaseURL();
33+
const baseURL = this.app.util.getApiBaseURL();
3434
this[SymbolApi] = markRaw(axios.create({ baseURL }));
3535
// your custom logic maybe here
3636
}

zova-docs/zh/guide/techniques/model/async-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class ModelTodo {
173173
```typescript
174174
async addTodo() {
175175
const todo = {
176-
id: this.app.meta.util.uuid(),
176+
id: this.app.util.uuid(),
177177
title: this.newTitle,
178178
done: false,
179179
};

zova-ui-antdv/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BeanApi extends BeanBase {
1111
private [SymbolApi]: AxiosInstance;
1212

1313
protected async __init__() {
14-
const baseURL = this.app.meta.util.getApiBaseURL();
14+
const baseURL = this.app.util.getApiBaseURL();
1515
this[SymbolApi] = markRaw(axios.create({ baseURL }));
1616
this._addInterceptors(this[SymbolApi]);
1717
}

zova-ui-element/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BeanApi extends BeanBase {
1111
private [SymbolApi]: AxiosInstance;
1212

1313
protected async __init__() {
14-
const baseURL = this.app.meta.util.getApiBaseURL();
14+
const baseURL = this.app.util.getApiBaseURL();
1515
this[SymbolApi] = markRaw(axios.create({ baseURL }));
1616
this._addInterceptors(this[SymbolApi]);
1717
}

zova-ui-empty/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BeanApi extends BeanBase {
1111
private [SymbolApi]: AxiosInstance;
1212

1313
protected async __init__() {
14-
const baseURL = this.app.meta.util.getApiBaseURL();
14+
const baseURL = this.app.util.getApiBaseURL();
1515
this[SymbolApi] = markRaw(axios.create({ baseURL }));
1616
this._addInterceptors(this[SymbolApi]);
1717
}

zova-ui-quasar/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BeanApi extends BeanBase {
1111
private [SymbolApi]: AxiosInstance;
1212

1313
protected async __init__() {
14-
const baseURL = this.app.meta.util.getApiBaseURL();
14+
const baseURL = this.app.util.getApiBaseURL();
1515
this[SymbolApi] = markRaw(axios.create({ baseURL }));
1616
this._addInterceptors(this[SymbolApi]);
1717
}

zova-ui-vuetify/src/suite/a-home/modules/home-base/src/bean/bean.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BeanApi extends BeanBase {
1111
private [SymbolApi]: AxiosInstance;
1212

1313
protected async __init__() {
14-
const baseURL = this.app.meta.util.getApiBaseURL();
14+
const baseURL = this.app.util.getApiBaseURL();
1515
this[SymbolApi] = markRaw(axios.create({ baseURL }));
1616
this._addInterceptors(this[SymbolApi]);
1717
}

0 commit comments

Comments
 (0)