File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ const SubTitleMenu: FC<SubMenuWithCustomizeProps> = (props) => {
201201
202202 useRipple ( subMenuDom ) ;
203203
204- // pupup 导航
204+ // popup 导航
205205 const isPopUp = expandType === 'popup' ;
206206 // 当前二级导航激活
207207 const isActive = checkSubMenuChildrenActive ( children , active ) || active === value ;
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ const columns: TableProps['columns'] = [
102102// eslint-disable-next-line
103103// function IconText(props = {}) {
104104// // 根据不同的 Props,允许定义不同的筛选图标(col, colIndex 在 Table 组件内部已经注入)
105- // const { col, colIndx } = props;
106- // console.log(col, colIndx );
105+ // const { col, colIndex } = props;
106+ // console.log(col, colIndex );
107107// if (col.colKey === 'email') return <div>EmailIcon</div>;
108108// return <i>Icon</i>;
109109// }
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ describe('Tree test', () => {
246246 ] ,
247247 } ,
248248 ] ;
249- it ( 'wehen props.line is customized, it works fine' , async ( ) => {
249+ it ( 'when props.line is customized, it works fine' , async ( ) => {
250250 const { container } = await renderTreeWithProps ( {
251251 data,
252252 expandAll : true ,
@@ -256,7 +256,7 @@ describe('Tree test', () => {
256256 expect ( container . querySelectorAll ( '.custom-line' ) . length ) . toBe ( 6 ) ;
257257 } ) ;
258258
259- it ( 'wehen props.line is a customized function, it works fine' , async ( ) => {
259+ it ( 'when props.line is a customized function, it works fine' , async ( ) => {
260260 const line : any = ( ) => < span className = "custom-line" > </ span > ;
261261 const { container } = await renderTreeWithProps ( {
262262 data,
Original file line number Diff line number Diff line change 11{
22 "name" : " tdesign-react" ,
3- "version" : " 1.11.8-patch.7 " ,
3+ "version" : " 1.11.8-patch.8 " ,
44 "title" : " tdesign-react" ,
55 "description" : " TDesign Component for React" ,
66 "main" : " lib/index.js" ,
You can’t perform that action at this time.
0 commit comments