fix media upload bug
This commit is contained in:
parent
6816bc8bad
commit
1935bf6bd4
@ -1,8 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<component
|
<button
|
||||||
:is="normalButton ? 'button' : 'label'"
|
|
||||||
class="media-upload"
|
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')"
|
:title="$t('tool_tip.media_upload')"
|
||||||
@click="onClick"
|
@click="onClick"
|
||||||
>
|
>
|
||||||
@ -31,7 +30,7 @@
|
|||||||
:accept="acceptTypes"
|
:accept="acceptTypes"
|
||||||
@change="change"
|
@change="change"
|
||||||
>
|
>
|
||||||
</component>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./media_upload.js"></script>
|
<script src="./media_upload.js"></script>
|
||||||
|
@ -892,6 +892,8 @@
|
|||||||
"is_default_custom": "(Default, version: {version})",
|
"is_default_custom": "(Default, version: {version})",
|
||||||
"install": "Install",
|
"install": "Install",
|
||||||
"install_version": "Install version {version}",
|
"install_version": "Install version {version}",
|
||||||
|
"more_install_options": "More install options",
|
||||||
|
"more_default_options": "More default setting options",
|
||||||
"set_default": "Set default",
|
"set_default": "Set default",
|
||||||
"set_default_version": "Set version {version} as 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.",
|
"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
Block a user