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

This commit is contained in:
puhui999
2023-04-04 11:19:58 +08:00
parent 933c710f36
commit dc1393411c
10 changed files with 26 additions and 125 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()
@ -57,7 +57,7 @@ onMounted(() => {
{{ item.templateNickname }}{{ item.templateContent }}
</span>
<span class="message-date">
{{ parseTime(item.createTime) }}
{{ formatDate(item.createTime) }}
</span>
</div>
</div>