Commit 2ce7716f by zhangleyuan

feat:处理下载客户端

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