fix(ui): 统一表格筛选分页和用量明细,升级 ESLint
This commit is contained in:
@@ -21,7 +21,9 @@ import i18next from 'i18next';
|
||||
|
||||
export const isCenterPaginationScope = () =>
|
||||
typeof window !== 'undefined' &&
|
||||
/^\/(console|org)(\/|$)/.test(window.location?.pathname || '');
|
||||
/^\/(?:console|org|user-center\/key-management)(?:\/|$)/.test(
|
||||
window.location?.pathname || '',
|
||||
);
|
||||
|
||||
export const centerPaginationOptions = (config, isMobile = false) => ({
|
||||
...config,
|
||||
|
||||
Reference in New Issue
Block a user