af-mobile-client-vue3 1.2.34 → 1.2.36
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"
|