fix: tabs renderer remove switchTab handler

pull/1802/head
NGPixel 5 years ago
parent 5d43f6ada1
commit 954262f517

@ -8,7 +8,7 @@ module.exports = {
let tabs = []
let tabContents = []
$(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 = ''
$(hd).nextUntil(_.times(i + 1, t => `h${t + 1}`).join(', ')).each((cidx, celm) => {
tabContent += $.html(celm)

Loading…
Cancel
Save