af-mobile-client-vue3 1.2.33 → 1.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -49,6 +49,7 @@ interface InitParams {
|
|
|
49
49
|
|
|
50
50
|
const props = withDefaults(defineProps<{
|
|
51
51
|
configName?: string
|
|
52
|
+
groupTitle?: string
|
|
52
53
|
groupFormItems?: GroupFormItems
|
|
53
54
|
serviceName?: string
|
|
54
55
|
formData?: object
|
|
@@ -60,6 +61,7 @@ const props = withDefaults(defineProps<{
|
|
|
60
61
|
isGroupForm?: boolean
|
|
61
62
|
}>(), {
|
|
62
63
|
configName: undefined,
|
|
64
|
+
groupTitle: undefined,
|
|
63
65
|
groupFormItems: null,
|
|
64
66
|
serviceName: undefined,
|
|
65
67
|
formData: null,
|
|
@@ -582,7 +584,7 @@ defineExpose({ init, form, formGroupName, validate, asyncSubmit, setForm, getFor
|
|
|
582
584
|
<template>
|
|
583
585
|
<VanForm v-if="loaded" ref="xFormRef" class="x-form-container" :class="{ 'use-full-height': !props.isGroupForm }" @submit="onSubmit">
|
|
584
586
|
<div class="form-fields-scrollable">
|
|
585
|
-
<VanCellGroup
|
|
587
|
+
<VanCellGroup :title="groupTitle">
|
|
586
588
|
<XFormItem
|
|
587
589
|
v-for="(item, index) in realJsonData"
|
|
588
590
|
:key="index"
|
|
@@ -598,6 +600,7 @@ defineExpose({ init, form, formGroupName, validate, asyncSubmit, setForm, getFor
|
|
|
598
600
|
/>
|
|
599
601
|
<slot name="extraFormItem" />
|
|
600
602
|
</VanCellGroup>
|
|
603
|
+
<slot name="extraCellGroup" />
|
|
601
604
|
<!-- 地图预览,统一放在表单项下方,只在有经纬度时显示 -->
|
|
602
605
|
<div v-if="previewMapPoint" style="height: 200px; margin-top: 12px; position: relative;">
|
|
603
606
|
<XOlMap
|