项目全局使用formatDate方法移除parseTime方法

This commit is contained in:
shizhong
2023-06-13 11:03:33 +08:00
parent 8be4f31a1b
commit ba4cc02bfd
8 changed files with 24 additions and 69 deletions

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import { parseTime } from '@/utils/formatTime'
import { formatDate } from '@/utils/formatTime'
import * as NotifyMessageApi from '@/api/system/notify/message'
const { push } = useRouter()
@ -60,7 +60,7 @@ onUnmounted(() => {
{{ item.templateNickname }}{{ item.templateContent }}
</span>
<span class="message-date">
{{ parseTime(item.createTime) }}
{{ formatDate(item.createTime) }}
</span>
</div>
</div>