mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-07-23 01:11:46 +08:00
style: lint-fix 自动修复格式问题
This commit is contained in:
parent
edb44da255
commit
932974f0fa
@ -38,8 +38,7 @@ export interface HttpDataSourceSchema extends DataSourceSchema {
|
||||
};
|
||||
autoFetch?: boolean;
|
||||
beforeRequest:
|
||||
| string
|
||||
| ((options: HttpOptions, content: { app: TMagicApp; dataSource: HttpDataSource }) => HttpOptions);
|
||||
string | ((options: HttpOptions, content: { app: TMagicApp; dataSource: HttpDataSource }) => HttpOptions);
|
||||
afterResponse:
|
||||
| string
|
||||
| ((response: any, content: { app: TMagicApp; dataSource: HttpDataSource; options: Partial<HttpOptions> }) => any);
|
||||
|
||||
@ -77,7 +77,7 @@ export interface FrameworkSlots {
|
||||
empty(props: {}): any;
|
||||
workspace(props: {}): any;
|
||||
'props-panel'(props: {}): any;
|
||||
'footer'(props: {}): any;
|
||||
footer(props: {}): any;
|
||||
'page-bar'(props: {}): any;
|
||||
'page-bar-add-button'(props: {}): 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;
|
||||
|
||||
for (let parent = element; parent.parentElement; ) {
|
||||
for (let parent = element; parent.parentElement;) {
|
||||
parent = parent.parentElement;
|
||||
|
||||
if (parent.tagName === 'HTML') return parent;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user