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

Commita27f132

Browse files
committed
fix: - Added timeout - Removed Console logs
1 parent4dbce10 commita27f132

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/simpleTextComp.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ interface SimpleTextEditViewProps {
5151

5252
constSimpleTextContent=React.memo(({ value, prefixIcon, suffixIcon, onEvent}:SimpleTextContentProps)=>{
5353
consthandleClick=useCallback(()=>{
54-
console.log("This comp");
5554
onEvent&&ComponentClickHandler({onEvent})()
5655
},[onEvent]);
5756

‎client/packages/lowcoder/src/comps/utils/componentClickHandler.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export const ComponentClickHandler = (props: Props) => {
1919
clearTimeout(clickTimer)
2020

2121
if((now-lastClickTime)<DOUBLE_CLICK_THRESHOLD){
22-
returnprops.onEvent(ClickEventType.DOUBLE_CLICK)
22+
clearTimeout(clickTimer)
23+
props.onEvent(ClickEventType.DOUBLE_CLICK)
2324
}else{
2425
clickTimer=setTimeout(()=>{
2526
props.onEvent(ClickEventType.CLICK)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp