调整目录结构
This commit is contained in:
parent
6de7a8bae7
commit
b6a73cdd38
3 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"categories": [
|
||||
{
|
||||
"name": "Computer",
|
||||
"name": "computer",
|
||||
"files": ["modern-full-stack.pdf", "gdb.pdf"]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
url_root +
|
||||
'pdfjs/web/viewer.html?file=' +
|
||||
url_root +
|
||||
'categories' +
|
||||
category.name +
|
||||
'/' +
|
||||
file
|
||||
|
@ -42,7 +43,7 @@
|
|||
></a>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a :href="`${url_root}${category.name}/${file}`"
|
||||
<a :href="`${url_root}categories/${category.name}/${file}`"
|
||||
><i class="bi bi-cloud-download"></i
|
||||
></a>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue