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