|
|
|
|
@ -361,7 +361,8 @@ const RIGHT = defineComponent({
|
|
|
|
|
<ElCard shadow="always" style={{marginTop: "12px"}}>
|
|
|
|
|
{areaPoints.value.map((i, k) => (
|
|
|
|
|
<div style={{marginBottom: "12px"}} key={k}>
|
|
|
|
|
<ElInput modelValue={i.name} placeholder="点位名称" style={{width: "100px"}}/>
|
|
|
|
|
<ElInput onUpdate:modelValue={val => (areaPoints.value[k].name = val)} modelValue={i.name}
|
|
|
|
|
placeholder="点位名称" style={{width: "100px"}}/>
|
|
|
|
|
<ElInput
|
|
|
|
|
modelValue={i.lon} placeholder="经度"
|
|
|
|
|
style={{width: "150px", marginLeft: "20px"}}
|
|
|
|
|
@ -377,7 +378,7 @@ const RIGHT = defineComponent({
|
|
|
|
|
</div>
|
|
|
|
|
))}
|
|
|
|
|
|
|
|
|
|
<ElButton type="primary" onClick={() => areaPoints.value.push({})}
|
|
|
|
|
<ElButton type="primary" onClick={() => areaPoints.value.push({name: '', lon: '', lat: ''})}
|
|
|
|
|
style={{textAlign: "center"}}>添加</ElButton>
|
|
|
|
|
</ElCard>
|
|
|
|
|
|
|
|
|
|
|