Commit 3e8cdcfd authored by youjie's avatar youjie

no message

parent f8eede71
...@@ -142,18 +142,21 @@ ...@@ -142,18 +142,21 @@
let methods = { let methods = {
// 跳web上传 // 跳web上传
goUrlWebview(){ goUrlWebview(){
if(data.platform=='windows'||data.platform=='mac'){
data.userData = uni.getStorageSync('userInfo') data.userData = uni.getStorageSync('userInfo')
let dataContent = { console.log(data.userData,'====')
Uid:data.userData.Id, if(data.platform=='windows'||data.platform=='mac'){
CourseId:data.uploadParm.CourseId, data.userData = uni.getStorageSync('userInfo')
} let dataContent = {
uni.navigateTo({ Uid:data.userData.Id,
url: `/pages/webview/upload?exam=${encodeURIComponent(JSON.stringify(dataContent))}` CourseId:data.uploadParm.CourseId,
}); }
uni.navigateTo({
url: `/pages/webview/upload?exam=${encodeURIComponent(JSON.stringify(dataContent))}`
});
}else{ }else{
methods.ImportInformation() methods.ImportInformation()
} }
}, },
examDetails(item){ examDetails(item){
uni.navigateTo({ uni.navigateTo({
......
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