调整组件字段显示

This commit is contained in:
zyy 2020-05-28 09:26:05 +08:00
parent 2bd6986ce4
commit d5519590f2

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"