Skip to content

Commit

Permalink
fix: 紧急修复dayjs引入错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Apr 23, 2022
1 parent 86283b2 commit f371444
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/fast-admin/fs-admin-naive-ui
Submodule fs-admin-naive-ui updated 1 files
+3 −3 src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script>
import * as dayjs from "dayjs";
import dayjs from "dayjs";
/**
* 日期格式化展示组件
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/fast-crud/src/types/functions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import StringUtils from "../utils/util.string";
import * as dayjs from "dayjs";
import dayjs from "dayjs";
import { useI18n } from "../locale";
function doFormat(date, format) {
if (StringUtils.isEmpty(date)) {
Expand Down

0 comments on commit f371444

Please sign in to comment.