fix: moment locale (#2952)
parent
0a05f8c01f
commit
883383a571
|
@ -38,7 +38,7 @@
|
|||
import { enableThumbs } from "@/utils/constants";
|
||||
import { mapMutations, mapGetters, mapState } from "vuex";
|
||||
import { filesize } from "@/utils";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
import { files as api } from "@/api";
|
||||
import * as upload from "@/utils/upload";
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<script>
|
||||
import { mapState, mapGetters } from "vuex";
|
||||
import { filesize } from "@/utils";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
import { files as api } from "@/api";
|
||||
|
||||
export default {
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
<script>
|
||||
import { mapState, mapGetters } from "vuex";
|
||||
import { share as api, pub as pub_api } from "@/api";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
import Clipboard from "clipboard";
|
||||
|
||||
export default {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import * as i18n from "@/i18n";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
|
||||
const mutations = {
|
||||
closeHovers: (state) => {
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
import { mapState, mapMutations, mapGetters } from "vuex";
|
||||
import { pub as api } from "@/api";
|
||||
import { filesize } from "@/utils";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
|
||||
import HeaderBar from "@/components/header/HeaderBar.vue";
|
||||
import Action from "@/components/header/Action.vue";
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<script>
|
||||
import { share as api, users } from "@/api";
|
||||
import { mapState, mapMutations } from "vuex";
|
||||
import moment from "moment";
|
||||
import moment from "moment/min/moment-with-locales";
|
||||
import Clipboard from "clipboard";
|
||||
import Errors from "@/views/Errors.vue";
|
||||
|
||||
|
|
Loading…
Reference in New Issue