From 914c18aa66a7fbde2d54a05cdf583138bf7f230b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期日, 27 十月 2024 16:59:19 +0800 Subject: [PATCH] 计划任务更新 --- src/components/Basic/src/BasicHelp.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/Basic/src/BasicHelp.vue b/src/components/Basic/src/BasicHelp.vue index 3b7dd4c..67c5c05 100644 --- a/src/components/Basic/src/BasicHelp.vue +++ b/src/components/Basic/src/BasicHelp.vue @@ -1,12 +1,12 @@ <script lang="tsx"> - import type { CSSProperties, PropType } from 'vue'; + import type { CSSProperties, PropType, VNodeChild } from 'vue'; import { defineComponent, computed, unref } from 'vue'; import { Tooltip } from 'ant-design-vue'; import { InfoCircleOutlined } from '@ant-design/icons-vue'; - import { getPopupContainer } from '/@/utils'; - import { isString, isArray } from '/@/utils/is'; - import { getSlot } from '/@/utils/helper/tsxHelper'; - import { useDesign } from '/@/hooks/web/useDesign'; + import { getPopupContainer } from '@/utils'; + import { isString, isArray } from '@/utils/is'; + import { getSlot } from '@/utils/helper/tsxHelper'; + import { useDesign } from '@/hooks/web/useDesign'; const props = { /** @@ -36,7 +36,9 @@ /** * Help text list */ - text: { type: [Array, String] as PropType<string[] | string> }, + text: { + type: [Array, String, Object] as PropType<string[] | string | VNodeChild | JSX.Element>, + }, }; export default defineComponent({ @@ -71,7 +73,7 @@ ); }); } - return null; + return <div>{textList}</div>; } return () => { -- Gitblit v1.9.3