Commit b56b27ef by chenshu

feat:初始化

parent 92688bbd
......@@ -124,6 +124,7 @@ class OfflineCourseList extends React.Component {
render: (val, item, index) => {
return (
<Switch
disabled={item.courseState === 'EXPIRED'}
defaultChecked={item.shelfState === "YES"}
onChange={() => this.changeShelfState(item)}
/>
......
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