fix default body type.

This commit is contained in:
xiawenlong
2021-10-19 20:40:26 +08:00
parent d4133f4128
commit f02595167f
6 changed files with 27 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ js::set('struct', $struct);
<tr>
<td class="w-110px"></td>
<td colspan="2">
<body-field @change="changeAttr" :attr="struct.attribute"></body-field>
<body-field @change="changeAttr" :attr="struct.attribute" :struct-type="struct.type"></body-field>
<input type="hidden" name="attribute" v-model="attr">
</td>
</tr>