<thead><th></th></thead> => <tr></tr>추가
This commit is contained in:
parent
8f2a78ef1e
commit
662b38aac7
@ -169,6 +169,7 @@ const Placement = forwardRef((props, refs) => {
|
|||||||
<div className="roof-module-table">
|
<div className="roof-module-table">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
|
<tr>
|
||||||
{moduleData.header.map((data) => (
|
{moduleData.header.map((data) => (
|
||||||
<th key={data.prop} style={{ width: data.width ? data.width : '' }}>
|
<th key={data.prop} style={{ width: data.width ? data.width : '' }}>
|
||||||
{data.type === 'check' ? (
|
{data.type === 'check' ? (
|
||||||
@ -181,6 +182,7 @@ const Placement = forwardRef((props, refs) => {
|
|||||||
)}
|
)}
|
||||||
</th>
|
</th>
|
||||||
))}
|
))}
|
||||||
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{selectedModules?.itemList &&
|
{selectedModules?.itemList &&
|
||||||
@ -216,7 +218,7 @@ const Placement = forwardRef((props, refs) => {
|
|||||||
className="input-origin block"
|
className="input-origin block"
|
||||||
name="row"
|
name="row"
|
||||||
value={props.layoutSetup[index]?.row ?? 1}
|
value={props.layoutSetup[index]?.row ?? 1}
|
||||||
defaultValue={0}
|
//defaultValue={0}
|
||||||
onChange={(e) => handleLayoutSetup(e, item.itemId, index)}
|
onChange={(e) => handleLayoutSetup(e, item.itemId, index)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -228,7 +230,7 @@ const Placement = forwardRef((props, refs) => {
|
|||||||
className="input-origin block"
|
className="input-origin block"
|
||||||
name="col"
|
name="col"
|
||||||
value={props.layoutSetup[index]?.col ?? 1}
|
value={props.layoutSetup[index]?.col ?? 1}
|
||||||
defaultValue={0}
|
//defaultValue={0}
|
||||||
onChange={(e) => handleLayoutSetup(e, item.itemId, index)}
|
onChange={(e) => handleLayoutSetup(e, item.itemId, index)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user