Skip to content

Commit

Permalink
Merge pull request #449 from uncle-lv/dev
Browse files Browse the repository at this point in the history
新增layer文件上传的文件类型限制功能
  • Loading branch information
newpanjing authored Feb 4, 2023
2 parents b2cedf0 + 551e761 commit e5fa7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpleui/templates/admin/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@

</el-radio-group>

<input v-else-if="item.type=='file'" type="file" :ref="item.key"/>
<input v-else-if="item.type=='file'" type="file" :ref="item.key" :accept="item.accept?item.accept:'*'"/>

<el-input v-else v-model="item.value" :type="item.type" :style="{width:item.width}"
:size="item.size"></el-input>
Expand Down

0 comments on commit e5fa7b7

Please sign in to comment.