This commit is contained in:
yuping
2023-01-12 16:38:04 +08:00
parent 72d7157054
commit 33f6c61e00
3 changed files with 2 additions and 9 deletions

View File

@@ -124,7 +124,6 @@ export default {
total: 0,
capacity: 0,
countCMB: 0,
locationHref: location.href.indexOf('http://') !== -1 ? 'http://111.231.196.214:12016/' : location.href.slice(0, location.href.indexOf('/m')) + '/upload/'
});
function getData() {
@@ -180,7 +179,7 @@ export default {
// 下载文件
function downLoadFile(data) {
console.log(data)
window.open(state.locationHref + data.url)
window.open(process.env.VUE_APP_FILE_PATH + data.url)
}
// 删除文件
function removeFile(data) {