mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
docs: 修改测试集合key值的tooltip
This commit is contained in:
parent
18c4014cab
commit
ef93e585c4
@ -370,7 +370,7 @@ class InterfaceColContent extends Component {
|
|||||||
header: {
|
header: {
|
||||||
label: 'key',
|
label: 'key',
|
||||||
formatters: [() => {
|
formatters: [() => {
|
||||||
return <Tooltip title="每个用例都有一个独一无二的key,可用来获取匹配的接口响应数据">
|
return <Tooltip title={<span>每个用例都有唯一的key,用于获取所匹配接口的响应数据,例如使用 <a href="https://yapi.ymfe.org/case.html#变量参数" className="link-tooltip" target="blank">变量参数</a> 功能</span>}>
|
||||||
Key</Tooltip>
|
Key</Tooltip>
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
@ -475,7 +475,7 @@ class InterfaceColContent extends Component {
|
|||||||
<Button disabled type="primary" style={{ float: 'right' }} >开始测试</Button>
|
<Button disabled type="primary" style={{ float: 'right' }} >开始测试</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
}
|
}
|
||||||
|
|
||||||
<Table.Provider
|
<Table.Provider
|
||||||
components={components}
|
components={components}
|
||||||
columns={resolvedColumns}
|
columns={resolvedColumns}
|
||||||
|
@ -200,3 +200,11 @@ em {
|
|||||||
background-color: rgba(0,0,0,.35);
|
background-color: rgba(0,0,0,.35);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// tooltip 中的链接
|
||||||
|
.link-tooltip {
|
||||||
|
color: #56b2fd;
|
||||||
|
&:hover {
|
||||||
|
color: #2395f1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user