mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-22 11:48:57 +08:00
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
This commit is contained in:
@@ -20,6 +20,7 @@ const routes: RouteRecordRaw[] = [
|
||||
affixTab: true,
|
||||
icon: 'lucide:area-chart',
|
||||
title: $t('page.dashboard.analytics'),
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -2,6 +2,7 @@ import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import {
|
||||
VBEN_ANT_PREVIEW_URL,
|
||||
VBEN_ANTDV_NEXT_PREVIEW_URL,
|
||||
VBEN_DOC_URL,
|
||||
VBEN_ELE_PREVIEW_URL,
|
||||
VBEN_GITHUB_URL,
|
||||
@@ -9,7 +10,11 @@ import {
|
||||
VBEN_NAIVE_PREVIEW_URL,
|
||||
VBEN_TD_PREVIEW_URL,
|
||||
} from '@vben/constants';
|
||||
import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons';
|
||||
import {
|
||||
SvgAntdvLogoIcon,
|
||||
SvgAntdvNextLogoIcon,
|
||||
SvgTDesignIcon,
|
||||
} from '@vben/icons';
|
||||
|
||||
import { IFrameView } from '#/layouts';
|
||||
import { $t } from '#/locales';
|
||||
@@ -56,6 +61,18 @@ const routes: RouteRecordRaw[] = [
|
||||
title: $t('demos.vben.antdv'),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'VbenAntdVNext',
|
||||
path: '/vben-admin/antdv-next',
|
||||
component: IFrameView,
|
||||
meta: {
|
||||
badgeType: 'dot',
|
||||
icon: SvgAntdvNextLogoIcon,
|
||||
link: VBEN_ANTDV_NEXT_PREVIEW_URL,
|
||||
title: $t('demos.vben.antdv-next'),
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
name: 'VbenNaive',
|
||||
path: '/vben-admin/naive',
|
||||
|
||||
@@ -67,6 +67,13 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
||||
label: '字符串',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
fieldName: 'desc',
|
||||
// 界面显示的description
|
||||
description: '这是表单描述',
|
||||
label: '字符串(带描述)',
|
||||
},
|
||||
{
|
||||
// 组件需要在 #/adapter.ts内注册,并加上类型
|
||||
component: 'ApiSelect',
|
||||
|
||||
Reference in New Issue
Block a user