功能:完善 YumiNail 全栈修复与打包

This commit is contained in:
xiaowang
2026-05-15 21:10:41 +08:00
parent 3d0a859980
commit 1f05e0ab44
42 changed files with 768 additions and 316 deletions
@@ -123,7 +123,7 @@
<div class="admin-mobile-card__rows">
<div class="admin-mobile-card__row">
<span>预计时长</span>
<strong>{{ item.approximateDuration || '--' }} 分钟</strong>
<strong>{{ formatDuration(item.approximateDuration) }}</strong>
</div>
<div class="admin-mobile-card__row">
<span>互动数据</span>
@@ -550,6 +550,14 @@ const nextRequestToken = (key: keyof typeof requestTokens) => {
const isLatestRequestToken = (key: keyof typeof requestTokens, token: number) => requestTokens[key] === token
const formatDuration = (value?: string | number | null) => {
if (value === undefined || value === null || value === '') {
return '--'
}
const text = String(value).trim()
return text.includes('分钟') ? text : `${text}分钟`
}
const viewFormState = reactive({
shopId: undefined,
title: '',