Skip to content

Commit

Permalink
FIX: 文件上传的绑定数据错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored Aug 8, 2024
1 parent 84269fd commit 9ccda9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single/表单.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
</el-col>
#elseif($field.formType == 'upload-file')
<el-form-item label="#if(${field.fieldComment})${field.fieldComment}#else ${field.attrName}#end" prop="${field.attrName}">
<upload-file v-model:imageUrl="form.${field.attrName}"></upload-file>
<upload-file v-model="form.${field.attrName}"></upload-file>
</el-form-item>
</el-col>
#elseif($field.formType == 'upload-img')
<el-form-item label="#if(${field.fieldComment})${field.fieldComment}#else ${field.attrName}#end" prop="${field.attrName}">
<upload-img v-model="form.${field.attrName}"></upload-img>
<upload-img v-model:imageUrl="form.${field.attrName}"></upload-img>
</el-form-item>
</el-col>
#elseif($field.formType == 'editor')
Expand Down

0 comments on commit 9ccda9f

Please sign in to comment.