File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ const user = {
27
27
dataSource : dataSource
28
28
}
29
29
) ;
30
+ } ,
31
+ table : function ( dataSource ) {
32
+ return axiosInstance . get ( "/api/users/me/table" ,
33
+ {
34
+ params : { } ,
35
+ dataSource : dataSource
36
+ }
37
+ ) ;
30
38
}
31
39
} ;
32
40
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ export default {
413
413
]
414
414
};
415
415
416
- const tables = await metadataTableService . list (dataSourceName, 1 , 99999 );
416
+ const tables = await userService . table (dataSourceName);
417
417
for (let i = 0 ; i < tables .length ; i++ ) {
418
418
let table = tables[i];
419
419
if (table .systemable ) {
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ const userService = {
14
14
var res = await user . menu ( dataSource ) ;
15
15
return res . data ;
16
16
} ,
17
+ table : async function ( dataSource ) {
18
+ var res = await user . table ( dataSource ) ;
19
+ return res . data ;
20
+ } ,
17
21
getUserInfo : async function ( ) {
18
22
return LocalStorage . getItem ( "userInfo" ) || { } ;
19
23
} ,
You can’t perform that action at this time.
0 commit comments