Commit f70575cd by wangshuo

BUG 修改

parent 082a4f29
...@@ -17,7 +17,7 @@ class OutLine extends Component { ...@@ -17,7 +17,7 @@ class OutLine extends Component {
htmlDecode = (content) => { htmlDecode = (content) => {
let e = document.createElement('div'); let e = document.createElement('div');
e.innerHTML = content; e.innerHTML = content;
return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue; return e.childNodes.length === 0 ? "" : e.innerHTML;
} }
tabchange = (tab, index) => { tabchange = (tab, index) => {
......
...@@ -48,7 +48,7 @@ class Purchased extends Component { ...@@ -48,7 +48,7 @@ class Purchased extends Component {
const uid = user && user.data && user.data.uid const uid = user && user.data && user.data.uid
return ( return (
<div className='purchased-box'> <div className='purchased-box'>
<HeaderBar arrow={true} title='已购课程' cart={false} href='/my' /> <HeaderBar arrow={true} title='已购课程' cart={false} />
<Loading isLoading={this.state.isLoading}> <Loading isLoading={this.state.isLoading}>
{ {
this.state.data && this.state.data.length > 0 ? this.state.data && this.state.data.length > 0 ?
......
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