Skip to content

Commit

Permalink
fix:修复title拼接错误导致自定义布局页面报错
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaijunlei955 committed Aug 26, 2024
1 parent 6079bd6 commit 8c78458
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if (template) {
this._element = key
? template.querySelector(`[data-bb-key="${key}"]`)
: (template.querySelector(`#${this.option.id}`) ?? template.querySelector(`[data-bb-title="${title}]"`))
: (template.querySelector(`#${this.option.id}`) ?? template.querySelector(`[data-bb-title="${title}"]`))
}

if (titleClass) {
Expand Down

0 comments on commit 8c78458

Please sign in to comment.