@@ -24,6 +24,8 @@ import { BoolControl } from "comps/controls/boolControl";
24
24
import { withDefault } from "comps/generators" ;
25
25
import { SliderControl } from "../controls/sliderControl" ;
26
26
import { getBackgroundStyle } from "@lowcoder-ee/util/styleUtils" ;
27
+ import clsx from "clsx" ;
28
+ import { useApplicationId } from "util/hooks" ;
27
29
28
30
const EventOptions = [
29
31
{ label : trans ( "modalComp.open" ) , value : "open" , description : trans ( "modalComp.openDesc" ) } ,
@@ -113,6 +115,8 @@ let TmpModalComp = (function () {
113
115
} ,
114
116
( props , dispatch ) => {
115
117
const userViewMode = useUserViewMode ( ) ;
118
+ const appID = useApplicationId ( ) ;
119
+ console . log ( "APP" , appID ) ;
116
120
const bodyStyle : CSSProperties = { padding : 0 } ;
117
121
const width = transToPxSize ( props . width || DEFAULT_WIDTH ) ;
118
122
let height = undefined ;
@@ -177,7 +181,7 @@ let TmpModalComp = (function () {
177
181
zIndex = { Layers . modal }
178
182
modalRender = { ( node ) => < ModalStyled $style = { props . style } $modalScrollbar = { props . modalScrollbar } > { node } </ ModalStyled > }
179
183
mask = { props . showMask }
180
- className = { props . className as string }
184
+ className = { clsx ( `app- ${ appID } ` , props . className ) }
181
185
data-testid = { props . dataTestId as string }
182
186
>
183
187
< InnerGrid
0 commit comments