Skip to content

Commit

Permalink
chore: fix cr
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 22, 2025
1 parent 679d200 commit 300e658
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/auto-complete/option-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ export default defineComponent({

render() {
if (!this.tOptions.length) {
const empty = renderTNodeJSX(this, 'empty');
return <div class={`${this.classPrefix}-auto-complete__panel--empty`}>{empty || this.globalConfig.empty}</div>;
return (
<div class={`${this.classPrefix}-auto-complete__panel--empty`}>{this.empty || this.globalConfig.empty}</div>
);
}
return (
<ul class={this.classes}>
Expand Down

0 comments on commit 300e658

Please sign in to comment.