|
|
@ -48,7 +48,18 @@ function StudentStudy (props) {
|
|
|
|
// 保存当前的id
|
|
|
|
// 保存当前的id
|
|
|
|
saveUserProgramIdentifier(id);
|
|
|
|
saveUserProgramIdentifier(id);
|
|
|
|
// startProgramQuestion(id);
|
|
|
|
// startProgramQuestion(id);
|
|
|
|
getUserProgramDetail(id);
|
|
|
|
// console.log("getUserProgramDetail(id)");
|
|
|
|
|
|
|
|
// console.log(id);
|
|
|
|
|
|
|
|
// console.log(id.charAt(id.length-1));
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
if(id.charAt(id.length-1)==="?"){
|
|
|
|
|
|
|
|
id = id.substring(0, id.length - 1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getUserProgramDetail(id);
|
|
|
|
const $searchs = window.location.search && window.location.search.substring(1);
|
|
|
|
const $searchs = window.location.search && window.location.search.substring(1);
|
|
|
|
if ($searchs) {
|
|
|
|
if ($searchs) {
|
|
|
|
const $params = $searchs.split('&') || [];
|
|
|
|
const $params = $searchs.split('&') || [];
|
|
|
|