[update] 流程英文适配
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
<slot name="customButton">
|
||||
<div v-if="isImageComp">
|
||||
<a-icon type="plus" />
|
||||
<div class="ant-upload-text">{{ text }}</div>
|
||||
<div class="ant-upload-text">{{ text ? text : $t('clickToUpload') }}</div>
|
||||
</div>
|
||||
<a-button v-else-if="buttonVisible">
|
||||
<a-icon type="upload" />
|
||||
{{ text }}
|
||||
{{ text ? text : $t('clickToUpload') }}
|
||||
</a-button>
|
||||
</slot>
|
||||
</template>
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
text: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '点击上传'
|
||||
default: ''
|
||||
},
|
||||
fileType: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user