Compare commits
No commits in common. "68bc07c8f0ee5bbf95a9c48c0b470bcdf673d7e2" and "e3696dc2a4a12f9e2f7bab98a7c6b35fb871f02d" have entirely different histories.
68bc07c8f0
...
e3696dc2a4
|
|
@ -6,7 +6,7 @@
|
|||
<div class="properties-body" v-if="formConfig.currentItem?.itemProps">
|
||||
<Empty class="hint-box" v-if="!formConfig.currentItem.key" description="未选择控件" />
|
||||
<Form
|
||||
v-else-if="formConfig.currentItem.component == 'MapGeom'"
|
||||
v-else-if="formConfig.currentItem.field == 'mapgeom'"
|
||||
label-align="left"
|
||||
layout="vertical"
|
||||
description="图斑控件"
|
||||
|
|
@ -178,16 +178,15 @@
|
|||
watch(
|
||||
() => formConfig.value,
|
||||
() => {
|
||||
console.log("formConfig",formConfig.value);
|
||||
if (formConfig.value.currentItem) {
|
||||
formConfig.value.currentItem.itemProps = formConfig.value.currentItem.itemProps || {};
|
||||
formConfig.value.currentItem.itemProps.labelCol =
|
||||
formConfig.value.currentItem.itemProps.labelCol || {};
|
||||
formConfig.value.currentItem.itemProps.wrapperCol =
|
||||
formConfig.value.currentItem.itemProps.wrapperCol || {};
|
||||
if (formConfig.value.currentItem.component === 'MapGeom') {
|
||||
if (formConfig.value.currentItem.field === 'MapGeom') {
|
||||
// 图斑组件
|
||||
formConfig.value.currentItem.mapSetData = formConfig.value.currentItem.mapSetData ? formConfig.value.currentItem.mapSetData : {
|
||||
formConfig.value.currentItem.mapSetData = formConfig.value.currentItem.mapSetData || {
|
||||
chooseLayer: '',
|
||||
isAllowEditPolygon: false,
|
||||
isEnablePostionJump: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue