fix: code lint packages

This commit is contained in:
xingyu4j
2025-04-24 17:55:30 +08:00
parent 4243b3000b
commit e702e4aba0
9 changed files with 69 additions and 28 deletions

View File

@@ -5,4 +5,4 @@ export { default as SliderCaptcha } from './slider-captcha/index.vue';
export { default as SliderRotateCaptcha } from './slider-rotate-captcha/index.vue';
export type * from './types';
export { default as Verification } from './verification/index.vue';
export { default as Verification } from './verification/index.vue';

View File

@@ -14,17 +14,33 @@ defineOptions({
<span class="border-input w-[35%] border-b dark:border-gray-600"></span>
</div>
<div class="w-full mt-4 flex justify-between">
<a href="https://doc.iocoder.cn/" target="_blank" class="text-primary hover:text-primary/80 text-sm">
<div class="mt-4 flex w-full justify-between">
<a
href="https://doc.iocoder.cn/"
target="_blank"
class="text-primary hover:text-primary/80 text-sm"
>
📚 开发指南
</a>
<a href="https://doc.iocoder.cn/video/" target="_blank" class="text-primary hover:text-primary/80 text-sm">
<a
href="https://doc.iocoder.cn/video/"
target="_blank"
class="text-primary hover:text-primary/80 text-sm"
>
🔥 视频教程
</a>
<a href="https://www.iocoder.cn/Interview/good-collection/" target="_blank" class="text-primary hover:text-primary/80 text-sm">
<a
href="https://www.iocoder.cn/Interview/good-collection/"
target="_blank"
class="text-primary hover:text-primary/80 text-sm"
>
面试手册
</a>
<a href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" target="_blank" class="text-primary hover:text-primary/80 text-sm">
<a
href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg"
target="_blank"
class="text-primary hover:text-primary/80 text-sm"
>
🤝 外包咨询
</a>
</div>

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { MdiGithub, MdiQqchat, MdiWechat, AntdDingTalk } from '@vben/icons';
import { AntdDingTalk, MdiGithub, MdiQqchat, MdiWechat } from '@vben/icons';
import { $t } from '@vben/locales';
import { VbenIconButton } from '@vben-core/shadcn-ui';

View File

@@ -1,8 +1,8 @@
import type {
// 系列类型的定义后缀都为 SeriesOption
BarSeriesOption,
LineSeriesOption,
GaugeSeriesOption,
LineSeriesOption,
} from 'echarts/charts';
import type {
DatasetComponentOption,
@@ -13,7 +13,13 @@ import type {
} from 'echarts/components';
import type { ComposeOption } from 'echarts/core';
import { BarChart, LineChart, PieChart, RadarChart, GaugeChart } from 'echarts/charts';
import {
BarChart,
GaugeChart,
LineChart,
PieChart,
RadarChart,
} from 'echarts/charts';
import {
// 数据集组件
DatasetComponent,
@@ -33,9 +39,9 @@ import { CanvasRenderer } from 'echarts/renderers';
export type ECOption = ComposeOption<
| BarSeriesOption
| DatasetComponentOption
| GaugeSeriesOption
| GridComponentOption
| LineSeriesOption
| GaugeSeriesOption
| TitleComponentOption
| TooltipComponentOption
>;