pass-time-label to time-label

This commit is contained in:
Timi
2026-10-21 00:26:45 +08:00
parent db0431fbd5
commit 60bbe90160
24 changed files with 53 additions and 53 deletions
@@ -78,7 +78,7 @@
/>
<t-cell title="发生时间">
<template #note>
<pass-time-label :timestamp="record.occurredAt" underline />
<time-label :timestamp="record.occurredAt" underline />
</template>
</t-cell>
<t-cell title="操作人" :note="record.operator?.nick || record.operator?.name || record.operatorUserId || '未知操作人'" />
@@ -141,7 +141,7 @@
<script setup lang="ts">
import { BottomPopup } from "timi-tdesign-mobile";
import { PassTimeLabel } from "timi-web";
import { TimeLabel } from "timi-web";
import { useUserStore, type Attachment } from "timi-web-api";
import ProductAPI from "@/api/ProductAPI";
import MediaSelector from "@/components/mediaSelector/MediaSelector.vue";
+2 -2
View File
@@ -139,7 +139,7 @@
</template>
<template #description>
<div class="description">
<pass-time-label :timestamp="record.occurredAt" underline />
<time-label :timestamp="record.occurredAt" underline />
<div class="delta">
<span>库存:</span>
<span
@@ -191,7 +191,7 @@
<script setup lang="ts">
import { type DropdownValue } from "tdesign-mobile-vue";
import { PassTimeLabel, Time } from "timi-web";
import { TimeLabel, Time } from "timi-web";
import { UserAPI } from "timi-web-api";
import { onBeforeRouteLeave } from "vue-router";
import ProductAPI from "@/api/ProductAPI";