修改$refs->$ref
This commit is contained in:
parent
6ad3d33ae2
commit
06d740ba23
|
@ -126,10 +126,10 @@ exports[`factory:definitions 1`] = `
|
|||
>
|
||||
<input
|
||||
autocomplete="off"
|
||||
name="refs1"
|
||||
name="ref1"
|
||||
placeholder=""
|
||||
type="text"
|
||||
value="refs value"
|
||||
value="ref value"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -217,7 +217,7 @@ exports[`factory:definitions 1`] = `
|
|||
name="value"
|
||||
placeholder=""
|
||||
type="text"
|
||||
value="refs value"
|
||||
value="ref value"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -417,7 +417,7 @@ exports[`factory:definitions override 1`] = `
|
|||
>
|
||||
<input
|
||||
autocomplete="off"
|
||||
name="refs1"
|
||||
name="ref1"
|
||||
placeholder=""
|
||||
type="text"
|
||||
value=""
|
||||
|
|
|
@ -126,7 +126,7 @@ test('factory:definitions', () => {
|
|||
aa: {
|
||||
type: 'text',
|
||||
name: 'jack',
|
||||
value: 'refs value',
|
||||
value: 'ref value',
|
||||
remark: '通过<code>\\$ref</code>引入的组件'
|
||||
},
|
||||
bb: {
|
||||
|
@ -164,12 +164,12 @@ test('factory:definitions', () => {
|
|||
{
|
||||
label: 'text2',
|
||||
$ref: 'aa',
|
||||
name: 'refs1'
|
||||
name: 'ref1'
|
||||
},
|
||||
{
|
||||
label: 'combo',
|
||||
$ref: 'bb',
|
||||
name: 'refs2'
|
||||
name: 'ref2'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -227,12 +227,12 @@ test('factory:definitions override', () => {
|
|||
{
|
||||
label: 'text2',
|
||||
$ref: 'aa',
|
||||
name: 'refs1'
|
||||
name: 'ref1'
|
||||
},
|
||||
{
|
||||
label: 'combo',
|
||||
$ref: 'bb',
|
||||
name: 'refs2',
|
||||
name: 'ref2',
|
||||
type: 'checkboxes',
|
||||
value: 1,
|
||||
options: [
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"aa": {
|
||||
"type": "text",
|
||||
"name": "jack",
|
||||
"value": "refs value",
|
||||
"value": "ref value",
|
||||
"remark": "通过<code>\\$ref</code>引入的组件"
|
||||
},
|
||||
"bb": {
|
||||
|
@ -47,12 +47,12 @@
|
|||
{
|
||||
"label": "text2",
|
||||
"$ref": "aa",
|
||||
"name": "refs1"
|
||||
"name": "ref1"
|
||||
},
|
||||
{
|
||||
"label": "combo",
|
||||
"$ref": "bb",
|
||||
"name": "refs2"
|
||||
"name": "ref2"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue