Commit d816d9fa authored by 涂伟's avatar 涂伟
parents c1dd8d8b 797b1028
Pipeline #74156 passed with stages
import React, { useState, useEffect, forwardRef, useImperativeHandle } from 'react';
import { GetWebMenuInfo } from '@/services/webConfig/api';
import { message, Input, Tree, Empty, Tooltip } from 'antd';
import { message, Input, Tree, Empty, Tooltip, Tag } from 'antd';
import lodash from 'lodash';
import { FolderFilled, FileOutlined, InfoCircleOutlined, HomeOutlined } from '@ant-design/icons';
import styles from './TreeSelect.less';
......@@ -89,7 +89,16 @@ const TreeSelect = (props, ref) => {
param: item,
title: (
<div className={styles.treeLine}>
{item.shortName}
{item.function}
{item.state === '测试' ? (
<Tag color="gold" style={{ marginLeft: '5px' }}>
{item.state}
</Tag>
) : (
<Tag color="cyan" style={{ marginLeft: '5px' }}>
{item.state}
</Tag>
)}
<Tooltip title={item.desc} overlayStyle={{ maxWidth: 350 }}>
<InfoCircleOutlined
style={{ color: '#40a9ff', padding: '2px 2px 0 0', marginLeft: '5px' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment