diff --git a/src/_common b/src/_common index 1873fcceb..17d0a74f7 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 1873fcceb1c8a045dc9d26e7c626fec6467c52dc +Subproject commit 17d0a74f75281bb4abff81ed90184cc78c568aae diff --git a/src/auto-complete/__tests__/vitest-auto-complete.test.jsx b/src/auto-complete/__tests__/vitest-auto-complete.test.jsx index 9ffbcdd5b..7760c4d85 100644 --- a/src/auto-complete/__tests__/vitest-auto-complete.test.jsx +++ b/src/auto-complete/__tests__/vitest-auto-complete.test.jsx @@ -171,7 +171,7 @@ describe('AutoComplete Component', () => { wrapper.find('input').trigger('focus'); await wrapper.vm.$nextTick(); const emptyOptionsClassNameTAutocompletePanelDom = document.querySelectorAll( - '.empty-options-class-name .t-autocomplete__panel', + '.empty-options-class-name .t-auto-complete__panel', ); expect(emptyOptionsClassNameTAutocompletePanelDom.length).toBe(0); // remove nodes from document to avoid influencing following test cases diff --git a/src/auto-complete/auto-complete.tsx b/src/auto-complete/auto-complete.tsx index 17349f315..9c676d69e 100644 --- a/src/auto-complete/auto-complete.tsx +++ b/src/auto-complete/auto-complete.tsx @@ -178,7 +178,7 @@ export default defineComponent({ const topContent = renderTNodeJSX(this, 'panelTopContent'); const bottomContent = renderTNodeJSX(this, 'panelBottomContent'); const panelContent = topContent || this.options?.length || bottomContent ? ( -
Type | Platform | Property |
---|---|---|
Type | Platform | Property |
---|---|---|
使用插槽
使用属性
使用插槽
使用属性