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 = {
2727 dataSource : dataSource
2828 }
2929 ) ;
30+ } ,
31+ table : function ( dataSource ) {
32+ return axiosInstance . get ( "/api/users/me/table" ,
33+ {
34+ params : { } ,
35+ dataSource : dataSource
36+ }
37+ ) ;
3038 }
3139} ;
3240
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ export default {
413413 ]
414414 };
415415
416- const tables = await metadataTableService . list (dataSourceName, 1 , 99999 );
416+ const tables = await userService . table (dataSourceName);
417417 for (let i = 0 ; i < tables .length ; i++ ) {
418418 let table = tables[i];
419419 if (table .systemable ) {
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ const userService = {
1414 var res = await user . menu ( dataSource ) ;
1515 return res . data ;
1616 } ,
17+ table : async function ( dataSource ) {
18+ var res = await user . table ( dataSource ) ;
19+ return res . data ;
20+ } ,
1721 getUserInfo : async function ( ) {
1822 return LocalStorage . getItem ( "userInfo" ) || { } ;
1923 } ,
You can’t perform that action at this time.
0 commit comments