diff --git a/db/migrate/20190906062930_modify_is_test_for_user.rb b/db/migrate/20190906062930_modify_is_test_for_user.rb new file mode 100644 index 000000000..f3f5bfd3b --- /dev/null +++ b/db/migrate/20190906062930_modify_is_test_for_user.rb @@ -0,0 +1,5 @@ +class ModifyIsTestForUser < ActiveRecord::Migration[5.2] + def change + change_column :users, :is_test, :integer, :limit => 1 + end +end diff --git a/public/react/src/modules/courses/elearning/Elearning.js b/public/react/src/modules/courses/elearning/Elearning.js index 2be9bd022..a1e28f672 100644 --- a/public/react/src/modules/courses/elearning/Elearning.js +++ b/public/react/src/modules/courses/elearning/Elearning.js @@ -359,23 +359,23 @@ class Elearning extends Component{ {/*简介*/} -
-
- 简介 -
-
-

-

-
+ {/*
*/} + {/*
*/} + {/* 简介*/} + {/*
*/} + {/*
*/} + {/*

*/} + {/*

*/} + {/*
*/} -
+ {/*
*/} -
+
{ stages===undefined||stages===JSON.stringify("[]")||stages.length===0?