chore: BREAK CHANGE update dependencies includes @nuxt/ui, dayjs, etc.

This commit is contained in:
2024-07-28 01:46:44 +08:00
parent 0801321cf5
commit 8eeccb0a18
6 changed files with 59 additions and 49 deletions

View File

@@ -181,9 +181,9 @@ const copyTaskId = (extraMessage?: string) => {
<div class="flex-1 overflow-hidden pt-1">
<h1
:title="course.title"
class="text-sm font-medium overflow-hidden text-ellipsis text-nowrap"
class="inline-flex items-center text-sm font-medium overflow-hidden text-ellipsis text-nowrap"
>
<Icon class="-mt-0.5 -ml-0.5 text-base" name="i-tabler-book-2"/>
<Icon class="text-base" name="i-tabler-book-2"/>
<span class="pl-0.5">{{ course.title }}</span>
</h1>
<p class="text-xs pt-0.5 text-neutral-400 space-x-2">

View File

@@ -281,10 +281,9 @@ defineExpose({
</div>
<template #footer>
<!-- TODO: 24/07/02 Modified subtitles upload -->
<div class="flex justify-end items-center gap-2">
<span v-if="modified" class="text-sm text-yellow-500 font-medium">已更改但未保存</span>
<UButton :disabled="!modified" :loading="isSaving" @click="saveNewSubtitle">
<UButton :disabled="!modified" :loading="isSaving" icon="i-tabler-device-floppy" @click="saveNewSubtitle">
保存{{ isSaving ? '' : '' }}
</UButton>
</div>