fix: lint

This commit is contained in:
xingyu4j
2025-12-03 15:37:33 +08:00
parent 77a4a64eb4
commit 6753834054
6 changed files with 13 additions and 17 deletions

View File

@@ -18,9 +18,9 @@
font-size: var(--font-size-base, 16px); font-size: var(--font-size-base, 16px);
font-variation-settings: normal; font-variation-settings: normal;
font-synthesis-weight: none;
line-height: 1.15; line-height: 1.15;
text-size-adjust: 100%; text-size-adjust: 100%;
font-synthesis-weight: none;
scroll-behavior: smooth; scroll-behavior: smooth;
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;

View File

@@ -30,6 +30,7 @@ describe('useSortable', () => {
// Import sortablejs to access the mocked create function // Import sortablejs to access the mocked create function
const Sortable = await import( const Sortable = await import(
// @ts-expect-error - no types
'sortablejs/modular/sortable.complete.esm.js' 'sortablejs/modular/sortable.complete.esm.js'
); );

View File

@@ -350,9 +350,9 @@ export interface ActionButtonOptions extends VbenButtonProps {
export interface VbenFormProps< export interface VbenFormProps<
T extends BaseFormComponentType = BaseFormComponentType, T extends BaseFormComponentType = BaseFormComponentType,
> extends Omit< > extends Omit<
FormRenderProps<T>, FormRenderProps<T>,
'componentBindEventMap' | 'componentMap' | 'form' 'componentBindEventMap' | 'componentMap' | 'form'
> { > {
/** /**
* 操作按钮是否反转(提交按钮前置) * 操作按钮是否反转(提交按钮前置)
*/ */

View File

@@ -27,8 +27,10 @@ export type CustomRenderType = (() => Component | string) | string;
export type ValueType = boolean | number | string; export type ValueType = boolean | number | string;
export interface VbenButtonGroupProps export interface VbenButtonGroupProps extends Pick<
extends Pick<VbenButtonProps, 'disabled'> { VbenButtonProps,
'disabled'
> {
/** 单选模式下允许清除选中 */ /** 单选模式下允许清除选中 */
allowClear?: boolean; allowClear?: boolean;
/** 值改变前的回调 */ /** 值改变前的回调 */

View File

@@ -54,8 +54,7 @@ export interface PointSelectionCaptchaCardProps {
width?: number | string; width?: number | string;
} }
export interface PointSelectionCaptchaProps export interface PointSelectionCaptchaProps extends PointSelectionCaptchaCardProps {
extends PointSelectionCaptchaCardProps {
/** /**
* 是否展示确定按钮 * 是否展示确定按钮
* @default false * @default false

View File

@@ -157,9 +157,7 @@ const routes: RouteRecordRaw[] = [
name: 'HideChildrenInMenuDemo', name: 'HideChildrenInMenuDemo',
path: '', path: '',
component: () => component: () =>
import( import('#/views/demos/features/hide-menu-children/parent.vue'),
'#/views/demos/features/hide-menu-children/parent.vue'
),
meta: { meta: {
// hideInMenu: true, // hideInMenu: true,
title: $t('demos.features.hideChildrenInMenu'), title: $t('demos.features.hideChildrenInMenu'),
@@ -169,9 +167,7 @@ const routes: RouteRecordRaw[] = [
name: 'HideChildrenInMenuChildrenDemo', name: 'HideChildrenInMenuChildrenDemo',
path: '/demos/features/hide-menu-children/children', path: '/demos/features/hide-menu-children/children',
component: () => component: () =>
import( import('#/views/demos/features/hide-menu-children/children.vue'),
'#/views/demos/features/hide-menu-children/children.vue'
),
meta: { meta: {
activePath: '/demos/features/hide-menu-children', activePath: '/demos/features/hide-menu-children',
title: $t('demos.features.hideChildrenInMenu'), title: $t('demos.features.hideChildrenInMenu'),
@@ -247,9 +243,7 @@ const routes: RouteRecordRaw[] = [
name: 'RequestParamsSerializerDemo', name: 'RequestParamsSerializerDemo',
path: '/demos/features/request-params-serializer', path: '/demos/features/request-params-serializer',
component: () => component: () =>
import( import('#/views/demos/features/request-params-serializer/index.vue'),
'#/views/demos/features/request-params-serializer/index.vue'
),
meta: { meta: {
icon: 'lucide:git-pull-request-arrow', icon: 'lucide:git-pull-request-arrow',
title: $t('demos.features.requestParamsSerializer'), title: $t('demos.features.requestParamsSerializer'),