This commit is contained in:
邓皓元 2019-04-04 15:00:25 +08:00
parent ee8cd61d1e
commit 8b15dfe984
2 changed files with 3 additions and 3 deletions

View File

@ -74,12 +74,12 @@
<li class="f-r">
<div class="handle-item">
<Upload :before-upload="importExcel" action="/" :format="['xls','xlsx','csv']">
<Button type="warning">导入</Button>
<Button type="primary" ghost>导入</Button>
</Upload>
</div>
<div class="handle-item" v-has="'output'">
<Button @click="exportExcel" type="warning">导出</Button>
<Button @click="exportExcel" type="warning" ghost>导出</Button>
</div>
<div class="handle-item">

View File

@ -137,7 +137,7 @@ export default {
if (this.haveJurisdiction('update')) {
let button = h('Button', {
props: {
type: row.province ? 'success' : 'primary',
type: row.province ? 'success' : 'error',
size: 'small'
},
class: ['btn'],