Commit f8eede71 authored by youjie's avatar youjie

no message

parent 069b3f18
......@@ -131,8 +131,6 @@
// window | mac为pc端
// android | ios为手机端
data.platform=res.platform;
console.log(data.platform)
console.log(res,'--------')
}
});
watch(
......
......@@ -44,16 +44,14 @@
mask:true
})
if (process.env.NODE_ENV === "development") {
data.host = `http://localhost:8181/#/uploadFiles?uid=${data.dataContent.Uid}&courseId=${data.dataContent.CourseId}`
setTimeout(()=>{
uni.hideLoading()
},1000)
// data.host = `https://localhost:8181/#/uploadFiles?uid=${data.dataContent.Uid}&courseId=${data.dataContent.CourseId}`
data.host = `https://edu.kookaku.com/#/uploadFiles?uid=${data.dataContent.Uid}&courseId=${data.dataContent.CourseId}`
} else {
data.host = `https://edu.kookaku.com/#/uploadFiles?uid=${data.dataContent.Uid}&courseId=${data.dataContent.CourseId}`
setTimeout(()=>{
uni.hideLoading()
},1000)
}
setTimeout(()=>{
uni.hideLoading()
},5000)
}
}
return {
......@@ -62,9 +60,6 @@
};
},
onLoad(options) {
uni.setNavigationBarTitle({
title: '上传文件'
});
let json = JSON.parse(decodeURIComponent(options.exam))
this.dataContent = json
this.getUrl()
......
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