lz目录解析预览

This commit is contained in:
qaiu
2025-07-09 07:06:12 +08:00
parent 5b57b05eae
commit ef2fc3ab98
4 changed files with 42 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"dev": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},

View File

@@ -295,10 +295,11 @@ export default {
type: 'success'
})
const data = response.data.data
const panList = ["iz", "lz", "fj"];
const panList = ["iz", "lz", "fj", "ye"];
if (!panList.includes(data.shareLinkInfo.type)) {
this.$message.error("当前网盘不支持目录解析")
return;
}
let listUrl = `${window.location.origin}/list.html?url=${encodeURIComponent(this.link)}`
let apiUrl = new URL(data.apiLink).origin + `/v2/getFileList?url=${this.link}`;