Commit 954262f5 authored by NGPixel's avatar NGPixel

fix: tabs renderer remove switchTab handler

parent 5d43f6ad
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment