mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-13 03:19:39 -05:00
update maixvision home page
This commit is contained in:
@@ -98,7 +98,10 @@ title: MaixVision Workstation Official Website
|
||||
|
||||
<script>
|
||||
async function getLatestVersion(filename) {
|
||||
const response = await fetch('https://cdn.sipeed.com/maixvision/' + filename + '.json');
|
||||
const timestamp = new Date().getTime();
|
||||
const url = `https://cdn.sipeed.com/maixvision/${filename}.json?t=${timestamp}`;
|
||||
|
||||
const response = await fetch(url);
|
||||
const data = await response.json();
|
||||
if(data.error) {
|
||||
showMsgInfo("load data failed: " + data.error);
|
||||
@@ -107,6 +110,7 @@ async function getLatestVersion(filename) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
var win_download = document.getElementById('win_download');
|
||||
var linux_download = document.getElementById('linux_download');
|
||||
var macos_download = document.getElementById('macos_download');
|
||||
|
||||
@@ -98,7 +98,10 @@ title: MaixVision 工作站官网
|
||||
|
||||
<script>
|
||||
async function getLatestVersion(filename) {
|
||||
const response = await fetch('https://cdn.sipeed.com/maixvision/' + filename + '.json');
|
||||
const timestamp = new Date().getTime();
|
||||
const url = `https://cdn.sipeed.com/maixvision/${filename}.json?t=${timestamp}`;
|
||||
|
||||
const response = await fetch(url);
|
||||
const data = await response.json();
|
||||
if(data.error) {
|
||||
showMsgInfo("load data failed: " + data.error);
|
||||
|
||||
Reference in New Issue
Block a user