File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
zova-dev/src/suite/a-home/modules/home-base/src/bean
zova-ui-antdv/src/suite/a-home/modules/home-base/src/bean
zova-ui-element/src/suite/a-home/modules/home-base/src/bean
zova-ui-empty/src/suite/a-home/modules/home-base/src/bean
zova-ui-quasar/src/suite/a-home/modules/home-base/src/bean
zova-ui-vuetify/src/suite/a-home/modules/home-base/src/bean Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export class ModelTodo {
173173``` typescript
174174async 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 };
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export class ModelTodo {
173173``` typescript
174174async 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 };
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments