fix media upload bug
This commit is contained in:
parent
6816bc8bad
commit
1935bf6bd4
|
@ -1,8 +1,7 @@
|
|||
<template>
|
||||
<component
|
||||
:is="normalButton ? 'button' : 'label'"
|
||||
<button
|
||||
class="media-upload"
|
||||
:class="{ disabled: disabled, ['media-upload button-default btn']: normalButton }"
|
||||
:class="[normalButton ? 'button-default btn' : 'button-unstyled', { disabled }]"
|
||||
:title="$t('tool_tip.media_upload')"
|
||||
@click="onClick"
|
||||
>
|
||||
|
@ -31,7 +30,7 @@
|
|||
:accept="acceptTypes"
|
||||
@change="change"
|
||||
>
|
||||
</component>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script src="./media_upload.js"></script>
|
||||
|
|
|
@ -892,6 +892,8 @@
|
|||
"is_default_custom": "(Default, version: {version})",
|
||||
"install": "Install",
|
||||
"install_version": "Install version {version}",
|
||||
"more_install_options": "More install options",
|
||||
"more_default_options": "More default setting options",
|
||||
"set_default": "Set default",
|
||||
"set_default_version": "Set version {version} as default",
|
||||
"wip_notice": "Please note that this section is a WIP and lacks certain features as backend implementation of front-end management is incomplete.",
|
||||
|
|
Loading…
Reference in New Issue