Commit 2ce7716f by zhangleyuan

feat:处理下载客户端

parent 1b56f95f
......@@ -415,7 +415,7 @@ class LiveCourseList extends React.Component {
}
getDownloadVersion() {
BaseService
.getLastedVersion({ model: 1, platform: 1 })
.getLastedVersion({ model: 5, platform: 1 })
.then((res) => {
const { result = {} } = res;
this.setState({ downloadUrl: result.releaseUrl });
......
......@@ -26,7 +26,7 @@ class LiveCourseOpt extends React.Component {
// 判断用户系统
if(!isMac) {
BaseService
.getLastedVersion({ model: 1, platform: 1 })
.getLastedVersion({ model: 5, platform: 1 })
.then((res) => {
const a = document.createElement("a");
document.body.appendChild(a);
......
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