Compare commits

..

No commits in common. "68bc07c8f0ee5bbf95a9c48c0b470bcdf673d7e2" and "e3696dc2a4a12f9e2f7bab98a7c6b35fb871f02d" have entirely different histories.

1 changed files with 3 additions and 4 deletions

View File

@ -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,