Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web_component
submodule
Commits
285e8132
Commit
285e8132
authored
Aug 10, 2020
by
zhangwenshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update fixed bug
parent
a90c2b83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
DragFixed.tsx
components/apolloTable/component/DragFixed.tsx
+1
-1
RightDragFixed.tsx
components/apolloTable/component/RightDragFixed.tsx
+1
-1
memCols.ts
components/apolloTable/utils/memCols.ts
+0
-2
No files found.
components/apolloTable/component/DragFixed.tsx
View file @
285e8132
...
@@ -121,7 +121,7 @@ const DragFixed = (props: any) => {
...
@@ -121,7 +121,7 @@ const DragFixed = (props: any) => {
if
(
fixedCol
[
item
.
columnName
]
===
1
)
{
if
(
fixedCol
[
item
.
columnName
]
===
1
)
{
item
.
fixed
=
'left'
;
item
.
fixed
=
'left'
;
}
else
{
}
else
{
if
(
item
.
fixed
===
'left'
)
{
if
(
!!
item
.
showStatus
&&
item
.
fixed
===
'left'
)
{
item
.
fixed
=
''
;
item
.
fixed
=
''
;
}
}
}
}
...
...
components/apolloTable/component/RightDragFixed.tsx
View file @
285e8132
...
@@ -127,7 +127,7 @@ const DragFixed = (props: any) => {
...
@@ -127,7 +127,7 @@ const DragFixed = (props: any) => {
if
(
fixedCol
[
item
.
columnName
]
===
1
)
{
if
(
fixedCol
[
item
.
columnName
]
===
1
)
{
item
.
fixed
=
'right'
;
item
.
fixed
=
'right'
;
}
else
{
}
else
{
if
(
item
.
fixed
===
'right'
)
{
if
(
!!
item
.
showStatus
&&
item
.
fixed
===
'right'
)
{
item
.
fixed
=
''
;
item
.
fixed
=
''
;
}
}
}
}
...
...
components/apolloTable/utils/memCols.ts
View file @
285e8132
...
@@ -81,7 +81,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
...
@@ -81,7 +81,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
width
:
item
.
width
,
width
:
item
.
width
,
align
:
item
.
align
,
align
:
item
.
align
,
fixed
:
item
.
fixed
,
fixed
:
item
.
fixed
,
hideScope
:
item
.
hideScope
,
orderNo
:
item
.
orderNo
,
orderNo
:
item
.
orderNo
,
};
};
}
}
...
@@ -98,7 +97,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
...
@@ -98,7 +97,6 @@ export const getFormatColumns = (columns: ColumnProps[], cachedFeAttr: boolean,
width
:
item
.
width
,
width
:
item
.
width
,
align
:
item
.
align
,
align
:
item
.
align
,
fixed
:
item
.
fixed
,
fixed
:
item
.
fixed
,
hideScope
:
item
.
hideScope
,
orderNo
:
item
.
orderNo
,
orderNo
:
item
.
orderNo
,
};
};
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment