fix: lint
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
> {
|
> {
|
||||||
/**
|
/**
|
||||||
* 操作按钮是否反转(提交按钮前置)
|
* 操作按钮是否反转(提交按钮前置)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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;
|
||||||
/** 值改变前的回调 */
|
/** 值改变前的回调 */
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user