refactor: ♻️ eslint 代码规范调整
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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)]"
|
||||
|
||||
Reference in New Issue
Block a user