外宿申请-申请表
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
class="upload-file-uploader"
|
||||
>
|
||||
<!-- 上传按钮 -->
|
||||
<el-button size="mini" type="primary">选取文件</el-button>
|
||||
<el-button size="mini" type="primary"><i class='el-icon-upload2'></i>{{ text }}</el-button>
|
||||
<!-- 上传提示 -->
|
||||
<div v-if="showTip" slot="tip" class="el-upload__tip">
|
||||
请上传
|
||||
@@ -45,6 +45,11 @@ import { getTokenKeySessionStorage as getToken } from '@/utils/auth'
|
||||
export default {
|
||||
name: 'FileUpload',
|
||||
props: {
|
||||
// 按钮文本
|
||||
text: {
|
||||
type: String,
|
||||
default: () => "选取文件",
|
||||
},
|
||||
// 值
|
||||
value: [String, Object, Array],
|
||||
// 数量限制
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
:show-file-list="false"
|
||||
:before-upload="handleBeforeUpload"
|
||||
>
|
||||
<el-button v-if="inputDisabled !== true" id="affix1" :disabled="notupload" size="small" type="primary">点击上传</el-button>
|
||||
<el-button v-if="inputDisabled !== true" id="affix1" :disabled="notupload" size="small" type="primary"><i class='el-icon-upload2'></i>点击上传</el-button>
|
||||
<el-button
|
||||
v-if="this.affixId !== null && this.affixId !== '' && this.fileList.length > 0"
|
||||
id="affix2"
|
||||
|
||||
Reference in New Issue
Block a user