QSelectBox 한/일 언어 처리
This commit is contained in:
parent
9a074b9c43
commit
016a432eab
@ -508,8 +508,12 @@ export default function CanvasMenu(props) {
|
|||||||
<div className="select-box">
|
<div className="select-box">
|
||||||
{
|
{
|
||||||
<QSelectBox
|
<QSelectBox
|
||||||
showKey={'roofMatlNm'}
|
//options={addedRoofs}
|
||||||
options={addedRoofs}
|
options={addedRoofs.map((roof) => {
|
||||||
|
return { ...roof, name: globalLocale === 'ko' ? roof.roofMatlNm : roof.roofMatlNmJp }
|
||||||
|
})}
|
||||||
|
//showKey={'roofMatlNm'}
|
||||||
|
showKey={'name'}
|
||||||
value={selectedRoofMaterial}
|
value={selectedRoofMaterial}
|
||||||
onChange={changeSelectedRoofMaterial}
|
onChange={changeSelectedRoofMaterial}
|
||||||
sourceKey={'index'}
|
sourceKey={'index'}
|
||||||
|
|||||||
@ -258,7 +258,11 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set
|
|||||||
<div className="grid-select no-flx" style={{ width: '171px' }}>
|
<div className="grid-select no-flx" style={{ width: '171px' }}>
|
||||||
<QSelectBox
|
<QSelectBox
|
||||||
title={
|
title={
|
||||||
currentRoof?.roofSizeSet === '3' ? getMessage('modal.placement.initial.setting.size.none.pitch') : currentRoof?.roofMatlNm
|
currentRoof?.roofSizeSet === '3'
|
||||||
|
? getMessage('modal.placement.initial.setting.size.none.pitch')
|
||||||
|
: globalLocale === 'ko'
|
||||||
|
? currentRoof?.roofMatlNm
|
||||||
|
: currentRoof?.roofMatlNmJp
|
||||||
}
|
}
|
||||||
//ref={roofRef.roofCd}
|
//ref={roofRef.roofCd}
|
||||||
options={roofMaterials.map((roof) => {
|
options={roofMaterials.map((roof) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user