fix: 修复管理端前端 lint 与构建问题
- 收敛 easyflow-ui-admin 的 lint、格式和类型问题 - 修正 demo 页面与管理端前端构建失败点 - 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
@@ -237,10 +237,7 @@ onMounted(() => {
|
||||
class="block truncate text-sm font-medium leading-6 text-[hsl(var(--text-strong))]"
|
||||
>
|
||||
<template
|
||||
v-for="chunk in getHighlightedChunks(
|
||||
item.name || '',
|
||||
keyword,
|
||||
)"
|
||||
v-for="chunk in getHighlightedChunks(item.name || '', keyword)"
|
||||
:key="`${item.path}-${chunk.text}-${chunk.matched}`"
|
||||
>
|
||||
<span
|
||||
|
||||
@@ -6,7 +6,10 @@ import { Languages } from '@easyflow/icons';
|
||||
import { loadLocaleMessages } from '@easyflow/locales';
|
||||
import { preferences, updatePreferences } from '@easyflow/preferences';
|
||||
|
||||
import { EasyFlowDropdownRadioMenu, EasyFlowIconButton } from '@easyflow-core/shadcn-ui';
|
||||
import {
|
||||
EasyFlowDropdownRadioMenu,
|
||||
EasyFlowIconButton,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
name: 'LanguageToggle',
|
||||
|
||||
@@ -13,7 +13,10 @@ import {
|
||||
usePreferences,
|
||||
} from '@easyflow/preferences';
|
||||
|
||||
import { EasyFlowDropdownRadioMenu, EasyFlowIconButton } from '@easyflow-core/shadcn-ui';
|
||||
import {
|
||||
EasyFlowDropdownRadioMenu,
|
||||
EasyFlowIconButton,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
name: 'AuthenticationLayoutToggle',
|
||||
|
||||
@@ -5,7 +5,10 @@ import { useSlots } from 'vue';
|
||||
|
||||
import { CircleHelp } from '@easyflow/icons';
|
||||
|
||||
import { EasyFlowCheckButtonGroup, EasyFlowTooltip } from '@easyflow-core/shadcn-ui';
|
||||
import {
|
||||
EasyFlowCheckButtonGroup,
|
||||
EasyFlowTooltip,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
name: 'PreferenceCheckboxItem',
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useSlots } from 'vue';
|
||||
|
||||
import { CircleHelp, CircleX } from '@easyflow/icons';
|
||||
|
||||
import { Input, EasyFlowTooltip } from '@easyflow-core/shadcn-ui';
|
||||
import { EasyFlowTooltip, Input } from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
name: 'PreferenceSelectItem',
|
||||
|
||||
@@ -6,12 +6,12 @@ import { useSlots } from 'vue';
|
||||
import { CircleHelp } from '@easyflow/icons';
|
||||
|
||||
import {
|
||||
EasyFlowTooltip,
|
||||
NumberField,
|
||||
NumberFieldContent,
|
||||
NumberFieldDecrement,
|
||||
NumberFieldIncrement,
|
||||
NumberFieldInput,
|
||||
EasyFlowTooltip,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
|
||||
@@ -6,12 +6,12 @@ import { useSlots } from 'vue';
|
||||
import { CircleHelp } from '@easyflow/icons';
|
||||
|
||||
import {
|
||||
EasyFlowTooltip,
|
||||
Select,
|
||||
SelectContent,
|
||||
SelectItem,
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
EasyFlowTooltip,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useSlots } from 'vue';
|
||||
|
||||
import { CircleHelp } from '@easyflow/icons';
|
||||
|
||||
import { Switch, EasyFlowTooltip } from '@easyflow-core/shadcn-ui';
|
||||
import { EasyFlowTooltip, Switch } from '@easyflow-core/shadcn-ui';
|
||||
|
||||
defineOptions({
|
||||
name: 'PreferenceSwitchItem',
|
||||
|
||||
@@ -10,9 +10,9 @@ import {
|
||||
} from '@easyflow/preferences';
|
||||
|
||||
import {
|
||||
EasyFlowTooltip,
|
||||
ToggleGroup,
|
||||
ToggleGroupItem,
|
||||
EasyFlowTooltip,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
import ThemeButton from './theme-button.vue';
|
||||
|
||||
@@ -7,9 +7,9 @@ import { useTimezoneStore } from '@easyflow/stores';
|
||||
|
||||
import { useEasyFlowModal } from '@easyflow-core/popup-ui';
|
||||
import {
|
||||
EasyFlowIconButton,
|
||||
RadioGroup,
|
||||
RadioGroupItem,
|
||||
EasyFlowIconButton,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
|
||||
const TimezoneIcon = createIconifyIcon('fluent-mdl2:world-clock');
|
||||
|
||||
Reference in New Issue
Block a user