Commit f7b12473 by maolipeng

fix:XMQXY-411

parent 062b3193
......@@ -101,10 +101,8 @@ class LiveCourseList extends React.Component {
let _shelfState = item.shelfState;
if (_shelfState === 'NO') {
_shelfState = 'YES';
item.shelfState = 'YES';
} else {
_shelfState = 'NO';
item.shelfState = 'NO';
}
const params={
"liveCourseId": item.liveCourseId,
......
......@@ -300,10 +300,8 @@ class GraphicsCourseList extends React.Component {
let _shelfState = item.shelfState
if(_shelfState==='NO'){
_shelfState = "YES";
item.shelfState = "YES"
}else{
_shelfState = "NO"
item.shelfState = "NO"
}
const params={
courseId: item.id,
......
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