Commit 569295ea by Sweet Zhang

去掉鸡汤引号

parent 50375234
...@@ -161,16 +161,16 @@ ...@@ -161,16 +161,16 @@
const idx = content.indexOf(',') const idx = content.indexOf(',')
content = content.split(',') content = content.split(',')
// const newStr = ('<span class="iconfont icon-shangyinhao"></span>' + content[0] + ',<br/>' + content[1]).toString() // const newStr = ('<span class="iconfont icon-shangyinhao"></span>' + content[0] + ',<br/>' + content[1]).toString()
const newStr = ('' + content[0] + ',<br/>' + content[1]).toString() const newStr = (content[0] + ',<br/>' + content[1]).toString()
$('#content').html(newStr) $('#content').html(newStr)
} else if (content.indexOf('') != -1) { } else if (content.indexOf('') != -1) {
const idx = content.indexOf('') const idx = content.indexOf('')
content = content.split('') content = content.split('')
// const newStr = ('<span class="iconfont icon-shangyinhao"></span>' + content[0] + ',<br/>' + content[1]).toString() // const newStr = ('<span class="iconfont icon-shangyinhao"></span>' + content[0] + ',<br/>' + content[1]).toString()
const newStr = ('' + content[0] + '<br/>' + content[1]).toString() const newStr = (content[0] + '<br/>' + content[1]).toString()
$('#content').html(newStr) $('#content').html(newStr)
} else { } else {
$('#content').html('' + content) $('#content').html(content)
} }
} }
} }
......
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