贴片模版限制html文件
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
:key="`upload-${index}`"
|
:key="`upload-${index}`"
|
||||||
:auto-upload="false"
|
:auto-upload="false"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
|
:accept="'.html,.htm'"
|
||||||
:on-change="(file: any) => handleTemplateUpload(index, file)"
|
:on-change="(file: any) => handleTemplateUpload(index, file)"
|
||||||
>
|
>
|
||||||
<el-button size="small" type="primary" :disabled="!!template.url">
|
<el-button size="small" type="primary" :disabled="!!template.url">
|
||||||
|
|||||||
Reference in New Issue
Block a user