fix: tabs renderer remove switchTab handler
This commit is contained in:
parent
5d43f6ada1
commit
954262f517
@ -8,7 +8,7 @@ module.exports = {
|
|||||||
let tabs = []
|
let tabs = []
|
||||||
let tabContents = []
|
let tabContents = []
|
||||||
$(elm).nextUntil(_.times(i, t => `h${t + 1}`).join(', '), `h${i + 1}`).each((hidx, hd) => {
|
$(elm).nextUntil(_.times(i, t => `h${t + 1}`).join(', '), `h${i + 1}`).each((hidx, hd) => {
|
||||||
tabs.push(`<li @click="switchTab(${hidx})">${$(hd).html()}</li>`)
|
tabs.push(`<li>${$(hd).html()}</li>`)
|
||||||
let tabContent = ''
|
let tabContent = ''
|
||||||
$(hd).nextUntil(_.times(i + 1, t => `h${t + 1}`).join(', ')).each((cidx, celm) => {
|
$(hd).nextUntil(_.times(i + 1, t => `h${t + 1}`).join(', ')).each((cidx, celm) => {
|
||||||
tabContent += $.html(celm)
|
tabContent += $.html(celm)
|
||||||
|
Loading…
Reference in New Issue
Block a user