chore: use BaseButton
This commit is contained in:
parent
77bf347155
commit
b1ec5b58ee
1 changed files with 5 additions and 4 deletions
|
@ -13,16 +13,16 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<i18n-t keypath="input.datepickerRange.math.similar">
|
<i18n-t keypath="input.datepickerRange.math.similar">
|
||||||
<a
|
<BaseButton
|
||||||
href="https://grafana.com/docs/grafana/latest/dashboards/time-range-controls/"
|
href="https://grafana.com/docs/grafana/latest/dashboards/time-range-controls/"
|
||||||
rel="noreferrer noopener nofollow" target="_blank">
|
rel="noreferrer noopener nofollow" target="_blank">
|
||||||
Grafana
|
Grafana
|
||||||
</a>
|
</BaseButton>
|
||||||
<a
|
<BaseButton
|
||||||
href="https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math"
|
href="https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math"
|
||||||
rel="noreferrer noopener nofollow" target="_blank">
|
rel="noreferrer noopener nofollow" target="_blank">
|
||||||
Elasticsearch
|
Elasticsearch
|
||||||
</a>
|
</BaseButton>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</p>
|
</p>
|
||||||
<p>{{ $t('misc.forExample') }}</p>
|
<p>{{ $t('misc.forExample') }}</p>
|
||||||
|
@ -111,6 +111,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import {format} from 'date-fns'
|
import {format} from 'date-fns'
|
||||||
|
import BaseButton from '@/components/base/BaseButton.vue'
|
||||||
|
|
||||||
const exampleDate = format(new Date(), 'yyyy-MM-dd')
|
const exampleDate = format(new Date(), 'yyyy-MM-dd')
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue