mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-09-10 05:58:36 +00:00
style: lint-fix 自动修复格式问题
This commit is contained in:
parent
edb44da255
commit
932974f0fa
@ -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);
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user