Merge branch 'Alex' into razrab
This commit is contained in:
commit
7d96f91656
6 files changed
+25
-7
No files matched your search
@@ -101,7 +101,7 @@
|
||||
</v-row>
|
||||
<v-divider/>
|
||||
<v-row class="flex-grow-0 ma-0">
|
||||
<v-col>
|
||||
<v-col class="d-flex justify-space-between">
|
||||
<v-btn
|
||||
color="more_details_btn"
|
||||
variant="text"
|
||||
@@ -111,7 +111,7 @@
|
||||
>
|
||||
Подробнее
|
||||
</v-btn>
|
||||
{{news.cdate}}
|
||||
<span class="text-body-2 align-self-center">{{formatDate(news.cdate)}}</span>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
@@ -123,7 +123,7 @@ import { baseURL } from '@/utils/axios-api'
|
||||
import {useAccountStore} from '@/store/AccountStore'
|
||||
import { axiosApiInstance } from '@/utils/axios-api'
|
||||
import {splitname} from '@/utils/universal_functions'
|
||||
|
||||
import moment from 'moment'
|
||||
|
||||
const accountStore = useAccountStore()
|
||||
|
||||
@@ -165,13 +165,18 @@ export default {
|
||||
emit('openOneImg')
|
||||
}
|
||||
|
||||
function formatDate(date) {
|
||||
return moment(date).format('DD-MM-YYYY')
|
||||
}
|
||||
|
||||
return {
|
||||
accountStore,
|
||||
burl,
|
||||
limitText,
|
||||
splitname,
|
||||
toggleIncrementLike,
|
||||
openOneImg
|
||||
openOneImg,
|
||||
formatDate
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user