Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4022c65

Browse files
removed unused code
1 parent6eb8842 commit4022c65

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/column/simpleColumnTypeComps.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ const ButtonEventOptions = [clickEvent] as const;
5151
constchildrenMap={
5252
text:StringControl,
5353
buttonType:dropdownControl(ButtonTypeOptions,"primary"),
54-
onEvent:eventHandlerControl(ButtonEventOptions),
55-
onClick:eventHandlerControl(ButtonEventOptions),//ActionSelectorControlInContext,
54+
onClick:eventHandlerControl(ButtonEventOptions),
5655
loading:BoolCodeControl,
5756
disabled:BoolCodeControl,
5857
prefixIcon:IconControl,
@@ -68,7 +67,7 @@ const ButtonStyled = React.memo(({ props }: { props: ToViewReturn<RecordConstruc
6867

6968
consthandleClick=useCallback((e:React.MouseEvent)=>{
7069
props.onClick?.("click");
71-
},[props.onClick,props.onEvent]);
70+
},[props.onClick]);
7271

7372
constbuttonStyle=useMemo(()=>({
7473
margin:0,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp