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"
|
||||
:init-values="initValues"
|
||||
:values="values"
|
||||
:prop="`${prop}${prop ? '.' : ''}${name}`"
|
||||
:prop="prop"
|
||||
@change="onChangeHandler"
|
||||
></component>
|
||||
|
||||
|
@ -45,6 +45,7 @@
|
||||
<template #label><span v-html="type === 'checkbox' ? '' : text" :title="config.labelTitle"></span></template>
|
||||
<TMagicTooltip v-if="tooltip">
|
||||
<component
|
||||
:data-tmagic-form-item-prop="itemProp"
|
||||
:key="key(config)"
|
||||
:size="size"
|
||||
:is="tagName"
|
||||
@ -64,6 +65,7 @@
|
||||
|
||||
<component
|
||||
v-else
|
||||
:data-tmagic-form-item-prop="itemProp"
|
||||
:key="key(config)"
|
||||
:size="size"
|
||||
:is="tagName"
|
||||
|
Loading…
x
Reference in New Issue
Block a user