style: lint-fix 自动修复格式问题

This commit is contained in:
roymondchen 2026-07-20 11:20:15 +08:00
parent edb44da255
commit 932974f0fa
3 changed files with 3 additions and 4 deletions

View File

@ -38,8 +38,7 @@ export interface HttpDataSourceSchema extends DataSourceSchema {
}; };
autoFetch?: boolean; autoFetch?: boolean;
beforeRequest: beforeRequest:
| string string | ((options: HttpOptions, content: { app: TMagicApp; dataSource: HttpDataSource }) => HttpOptions);
| ((options: HttpOptions, content: { app: TMagicApp; dataSource: HttpDataSource }) => HttpOptions);
afterResponse: afterResponse:
| string | string
| ((response: any, content: { app: TMagicApp; dataSource: HttpDataSource; options: Partial<HttpOptions> }) => any); | ((response: any, content: { app: TMagicApp; dataSource: HttpDataSource; options: Partial<HttpOptions> }) => any);

View File

@ -77,7 +77,7 @@ export interface FrameworkSlots {
empty(props: {}): any; empty(props: {}): any;
workspace(props: {}): any; workspace(props: {}): any;
'props-panel'(props: {}): any; 'props-panel'(props: {}): any;
'footer'(props: {}): any; footer(props: {}): any;
'page-bar'(props: {}): any; 'page-bar'(props: {}): any;
'page-bar-add-button'(props: {}): any; 'page-bar-add-button'(props: {}): any;
'page-bar-title'(props: { page: MPage | MPageFragment }): any; 'page-bar-title'(props: { page: MPage | MPageFragment }): any;

View File

@ -126,7 +126,7 @@ export const getScrollParent = (element: HTMLElement, includeHidden = false): HT
if (isFixed(style)) return null; if (isFixed(style)) return null;
for (let parent = element; parent.parentElement; ) { for (let parent = element; parent.parentElement;) {
parent = parent.parentElement; parent = parent.parentElement;
if (parent.tagName === 'HTML') return parent; if (parent.tagName === 'HTML') return parent;