删除下载链接请求
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m41s

This commit is contained in:
speakeloudest 2026-02-25 05:07:16 +02:00
parent 466a7c8592
commit dd58e3ce55
2 changed files with 71 additions and 59 deletions

View File

@ -132,35 +132,41 @@ import FAQAccordion from './FAQAccordion/index.vue'
import { Button } from '@/components/ui/button'
import { downLoadIos } from '@/utils/constant.ts'
const downLoadWin = ref('')
const downLoadMac = ref('')
const downLoadAndroid = ref('')
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'mac',
})
.then((res) => {
downLoadMac.value = res.url
})
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'windows',
})
.then((res) => {
downLoadWin.value = res.url
})
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'android',
})
.then((res) => {
downLoadAndroid.value = res.url
})
const downLoadWin = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-windows-1.0.0.exe',
)
const downLoadMac = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-mac-1.0.0.dmg',
)
const downLoadAndroid = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-android-1.0.0.apk',
)
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'mac',
// })
// .then((res) => {
// downLoadMac.value = res.url
// })
//
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'windows',
// })
// .then((res) => {
// downLoadWin.value = res.url
// })
//
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'android',
// })
// .then((res) => {
// downLoadAndroid.value = res.url
// })
const activeIndex = ref(0)

View File

@ -34,36 +34,42 @@ import Icon4 from './Group 108.svg?component'
import { ref, computed } from 'vue'
import request from '@/utils/request'
import { getAllQueryString } from '@/utils/url-utils.ts'
const downLoadWin = ref('')
const downLoadMac = ref('')
const downLoadAndroid = ref('')
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'mac',
})
.then((res) => {
downLoadMac.value = res.url
})
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'windows',
})
.then((res) => {
downLoadWin.value = res.url
})
request
.get('/api/v1/common/client/download', {
// invite_code: getAllQueryString('ic'),
platform: 'android',
})
.then((res) => {
downLoadAndroid.value = res.url
// console.log(downLoadAndroid.value)
})
const downLoadWin = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-windows-1.0.0.exe',
)
const downLoadMac = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-mac-1.0.0.dmg',
)
const downLoadAndroid = ref(
'https://api.hifast.biz/v1/common/client/download/file/Hi快VPN-android-1.0.0.apk',
)
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'mac',
// })
// .then((res) => {
// downLoadMac.value = res.url
// })
//
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'windows',
// })
// .then((res) => {
// downLoadWin.value = res.url
// })
//
// request
// .get('/api/v1/common/client/download', {
// // invite_code: getAllQueryString('ic'),
// platform: 'android',
// })
// .then((res) => {
// downLoadAndroid.value = res.url
// // console.log(downLoadAndroid.value)
// })
//
const downloadLinks = computed(() => {