fix: tdesign lint

This commit is contained in:
xingyu4j
2025-11-24 14:35:16 +08:00
parent 2c0c71e20a
commit a8fc1e5d33
4 changed files with 6 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ defineExpose({
<div class="inline-block text-center" :style="getStyle"> <div class="inline-block text-center" :style="getStyle">
<!-- 图片包装器 --> <!-- 图片包装器 -->
<div <div
class="bg-card group relative cursor-pointer overflow-hidden rounded-full border border-gray-200" class="group relative cursor-pointer overflow-hidden rounded-full border border-gray-200 bg-card"
:style="getImageWrapperStyle" :style="getImageWrapperStyle"
@click="openModal" @click="openModal"
> >

View File

@@ -344,9 +344,9 @@ function getValue() {
class="mt-2 flex flex-wrap items-center" class="mt-2 flex flex-wrap items-center"
> >
请上传不超过 请上传不超过
<div class="text-primary mx-1 font-bold">{{ maxSize }}MB</div> <div class="mx-1 font-bold text-primary">{{ maxSize }}MB</div>
<div class="text-primary mx-1 font-bold">{{ accept.join('/') }}</div> <div class="mx-1 font-bold text-primary">{{ accept.join('/') }}</div>
格式文件 格式文件
</div> </div>
</Upload> </Upload>

View File

@@ -344,9 +344,9 @@ function getValue() {
class="mt-2 flex flex-wrap items-center text-sm" class="mt-2 flex flex-wrap items-center text-sm"
> >
请上传不超过 请上传不超过
<div class="text-primary mx-1 font-bold">{{ maxSize }}MB</div> <div class="mx-1 font-bold text-primary">{{ maxSize }}MB</div>
<div class="text-primary mx-1 font-bold">{{ accept.join('/') }}</div> <div class="mx-1 font-bold text-primary">{{ accept.join('/') }}</div>
格式文件 格式文件
</div> </div>
<Dialog <Dialog

View File

@@ -121,7 +121,7 @@ getDetail();
<template> <template>
<Page auto-content-height v-loading="loading"> <Page auto-content-height v-loading="loading">
<div class="bg-card flex h-[95%] flex-col rounded-md p-4"> <div class="flex h-[95%] flex-col rounded-md bg-card p-4">
<Steps <Steps
type="navigation" type="navigation"
v-model:current="currentStep" v-model:current="currentStep"