前一页 后一页 img
This commit is contained in:
parent
c3c059a0c3
commit
c3bfa19d92
|
@ -71,12 +71,10 @@ export default function fetchAPI (url, method, data = null, params = null) {
|
|||
resolve(data)
|
||||
} else {
|
||||
notification.error({ message: '错误', description: JSON.stringify(data.detail), key: 'ERROR' })
|
||||
reject()
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
notification.error({ message: '错误', description: error, key: 'ERROR' })
|
||||
reject()
|
||||
})
|
||||
})
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<a-row class="date-picker-wrapper">
|
||||
<a-button class="left" icon="left" type="primary" @click="handlePrevious">前一天</a-button>
|
||||
<a-button class="left" icon="left" type="primary" @click="handlePrevious"></a-button>
|
||||
<span
|
||||
class="date"
|
||||
v-if="!status.showDatePicker"
|
||||
|
@ -22,7 +22,6 @@
|
|||
type="primary"
|
||||
:disabled="date.format('YYYY-MM-DD') === maxDate.format('YYYY-MM-DD')"
|
||||
@click="handleNext">
|
||||
后一天
|
||||
<a-icon type="right"></a-icon>
|
||||
</a-button>
|
||||
</a-row>
|
||||
|
|
Loading…
Reference in New Issue