This commit is contained in:
fan 2020-05-28 09:54:58 +08:00
commit e846a7d272

View File

@ -150,7 +150,7 @@
<template v-for="(button, index) in queryList.actions">
<el-button v-if="button.fileType==='file' && (button.hasOwnProperty('show') ? button.show: true)" :key="index" :type="button.type ? button.type: 'primary'" size="small" class="button_style uploadDemo" :disabled="button.disabled" :loading="button.disabled">
<input id="queryFormFilesInput" type="file" class="file_box" accept=".json, application/json" @change="button.handler">
{{ $t('map.importMap') }}
{{ button.text }}
</el-button>
<el-button
v-else-if="button.hasOwnProperty('show') ? button.show: true"