mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
feat(form): 添加tmagicFormItemProp
This commit is contained in:
parent
feaa295606
commit
0979282504
@ -22,7 +22,7 @@
|
|||||||
:last-values="lastValues"
|
:last-values="lastValues"
|
||||||
:init-values="initValues"
|
:init-values="initValues"
|
||||||
:values="values"
|
:values="values"
|
||||||
:prop="`${prop}${prop ? '.' : ''}${name}`"
|
:prop="prop"
|
||||||
@change="onChangeHandler"
|
@change="onChangeHandler"
|
||||||
></component>
|
></component>
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
<template #label><span v-html="type === 'checkbox' ? '' : text" :title="config.labelTitle"></span></template>
|
<template #label><span v-html="type === 'checkbox' ? '' : text" :title="config.labelTitle"></span></template>
|
||||||
<TMagicTooltip v-if="tooltip">
|
<TMagicTooltip v-if="tooltip">
|
||||||
<component
|
<component
|
||||||
|
:data-tmagic-form-item-prop="itemProp"
|
||||||
:key="key(config)"
|
:key="key(config)"
|
||||||
:size="size"
|
:size="size"
|
||||||
:is="tagName"
|
:is="tagName"
|
||||||
@ -64,6 +65,7 @@
|
|||||||
|
|
||||||
<component
|
<component
|
||||||
v-else
|
v-else
|
||||||
|
:data-tmagic-form-item-prop="itemProp"
|
||||||
:key="key(config)"
|
:key="key(config)"
|
||||||
:size="size"
|
:size="size"
|
||||||
:is="tagName"
|
:is="tagName"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user