File tree 1 file changed +9
-2
lines changed
client/packages/lowcoder/src/comps/comps/layout
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import { ThemeContext } from "@lowcoder-ee/comps/utils/themeContext";
30
30
import { AlignCenter } from "lowcoder-design" ;
31
31
import { AlignLeft } from "lowcoder-design" ;
32
32
import { AlignRight } from "lowcoder-design" ;
33
+ import { LayoutActionComp } from "./layoutActionComp" ;
33
34
34
35
const TabBar = React . lazy ( ( ) => import ( "antd-mobile/es/components/tab-bar" ) ) ;
35
36
const TabBarItem = React . lazy ( ( ) =>
@@ -250,6 +251,7 @@ const TabOptionComp = (function () {
250
251
return new MultiCompBuilder (
251
252
{
252
253
app : AppSelectComp ,
254
+ action : LayoutActionComp ,
253
255
label : StringControl ,
254
256
icon : IconControl ,
255
257
hidden : BoolCodeControl ,
@@ -261,12 +263,17 @@ const TabOptionComp = (function () {
261
263
. setPropertyViewFn ( ( children , dispatch ) => {
262
264
return (
263
265
< >
266
+ { children . action . propertyView ( {
267
+ onAppChange : ( label :any ) => {
268
+ label && children . label . dispatchChangeValueAction ( label ) ;
269
+ } ,
270
+ } ) }
264
271
{ children . app . propertyView ( { } ) }
265
272
{ children . label . propertyView ( { label : trans ( "label" ) } ) }
266
273
{ hiddenPropertyView ( children ) }
267
274
{ children . icon . propertyView ( {
268
- label : trans ( " icon" ) ,
269
- tooltip : trans ( " aggregation.iconTooltip" ) ,
275
+ label : trans ( ' icon' ) ,
276
+ tooltip : trans ( ' aggregation.iconTooltip' ) ,
270
277
} ) }
271
278
</ >
272
279
) ;
You can’t perform that action at this time.
0 commit comments