mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 09:40:25 +08:00
fix: code lint
Some checks are pending
CI / Test (ubuntu-latest) (push) Waiting to run
CI / Test (windows-latest) (push) Waiting to run
CI / Lint (ubuntu-latest) (push) Waiting to run
CI / Lint (windows-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / CI OK (push) Blocked by required conditions
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Deploy Website on push / Deploy Push Playground Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Docs Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Antd Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Element Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Naive Ftp (push) Waiting to run
Release Drafter / update_release_draft (push) Waiting to run
Some checks are pending
CI / Test (ubuntu-latest) (push) Waiting to run
CI / Test (windows-latest) (push) Waiting to run
CI / Lint (ubuntu-latest) (push) Waiting to run
CI / Lint (windows-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / CI OK (push) Blocked by required conditions
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Deploy Website on push / Deploy Push Playground Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Docs Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Antd Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Element Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Naive Ftp (push) Waiting to run
Release Drafter / update_release_draft (push) Waiting to run
This commit is contained in:
parent
2828e7a7b6
commit
99c7fd72f8
@ -1,4 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import type { SetupContext } from 'vue';
|
||||||
|
|
||||||
import { computed, ref, useSlots } from 'vue';
|
import { computed, ref, useSlots } from 'vue';
|
||||||
|
|
||||||
import { VbenTooltip } from '@vben-core/shadcn-ui';
|
import { VbenTooltip } from '@vben-core/shadcn-ui';
|
||||||
@ -25,7 +27,7 @@ const props = withDefaults(
|
|||||||
|
|
||||||
const open = ref(false);
|
const open = ref(false);
|
||||||
|
|
||||||
const slots = useSlots();
|
const slots: SetupContext['slots'] = useSlots();
|
||||||
|
|
||||||
const tabs = computed(() => {
|
const tabs = computed(() => {
|
||||||
return props.files.map((file) => {
|
return props.files.map((file) => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { UseResizeObserverReturn } from '@vueuse/core';
|
import type { UseResizeObserverReturn } from '@vueuse/core';
|
||||||
|
|
||||||
import type { VNodeArrayChildren } from 'vue';
|
import type { SetupContext, VNodeArrayChildren } from 'vue';
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
MenuItemClicked,
|
MenuItemClicked,
|
||||||
@ -55,7 +55,7 @@ const emit = defineEmits<{
|
|||||||
|
|
||||||
const { b, is } = useNamespace('menu');
|
const { b, is } = useNamespace('menu');
|
||||||
const menuStyle = useMenuStyle();
|
const menuStyle = useMenuStyle();
|
||||||
const slots = useSlots();
|
const slots: SetupContext['slots'] = useSlots();
|
||||||
const menu = ref<HTMLUListElement>();
|
const menu = ref<HTMLUListElement>();
|
||||||
const sliceIndex = ref(-1);
|
const sliceIndex = ref(-1);
|
||||||
const openedMenus = ref<MenuProvider['openedMenus']>(
|
const openedMenus = ref<MenuProvider['openedMenus']>(
|
||||||
|
@ -61,7 +61,7 @@ const formOptions: VbenFormProps = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'RangePicker',
|
component: 'RangePicker',
|
||||||
defaultValue: [dayjs().subtract(-7, 'days'), dayjs()],
|
defaultValue: [dayjs().subtract(7, 'days'), dayjs()],
|
||||||
fieldName: 'date',
|
fieldName: 'date',
|
||||||
label: 'Date',
|
label: 'Date',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user