refactor: ♻️ eslint 代码规范调整

This commit is contained in:
ray
2024-10-13 10:42:48 +08:00
parent 72eb87d005
commit a4ef6eb696
66 changed files with 376 additions and 376 deletions

View File

@@ -27,7 +27,7 @@
</div>
</template>
<div :id="id" :class="className" :style="{ height, width }"></div>
<div :id="id" :class="className" :style="{ height, width }" />
</el-card>
</template>
@@ -190,7 +190,7 @@ const handleDownloadChart = () => {
if (ctx) {
ctx.drawImage(img, 0, 0, img.width, img.height);
const link = document.createElement("a");
link.download = `访问趋势.png`;
link.download = "访问趋势.png";
link.href = canvas.toDataURL("image/png", 0.9);
document.body.appendChild(link);
link.click();

View File

@@ -66,11 +66,11 @@
</el-col>
<el-col
v-for="(item, index) in visitStatsList"
:key="index"
:xs="24"
:sm="12"
:lg="6"
v-for="(item, index) in visitStatsList"
:key="index"
>
<el-skeleton :loading="visitStatsLoading" :rows="5" animated>
<template #template>
@@ -169,7 +169,7 @@
:key="index"
class="flex-y-center py-3"
>
<DictLabel code="notice_type" v-model="item.type" size="small" />
<DictLabel v-model="item.type" code="notice_type" size="small" />
<el-text
truncated
class="!mx-2 flex-1 !text-xs !text-[var(--el-text-color-secondary)]"