Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최동원
2020-06-09 23:39:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
836a5551c1c54ac07e6683c3c2a0bbdaa72cb34e
836a5551
1 parent
1a7d5e56
.
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
front-end/src/components/folderc.vue
front-end/src/routes/index.js
front-end/src/views/FolderPage.vue
front-end/src/components/folderc.vue
View file @
836a555
...
...
@@ -349,9 +349,10 @@ export default {
},
async created() {
try {
console.log(this.$route.params.id);
const curData = {
id: this.$store.state.id,
folder_id: this.
folder_
id,
folder_id: this.
$route.params.
id,
};
console.log(curData);
const response = await folder(curData);
...
...
front-end/src/routes/index.js
View file @
836a555
...
...
@@ -69,7 +69,7 @@ export default new VueRouter({
{
path
:
'/file/:id'
,
name
:
'Folder'
,
component
:
()
=>
import
(
'../
views/FolderPage.vue
'
),
component
:
()
=>
import
(
'../
components/folderc
'
),
props
:
true
,
},
],
...
...
front-end/src/views/FolderPage.vue
View file @
836a555
<template>
<div>
<folderc></folderc>
<folderc
v-bind:folderId="folderId"
></folderc>
</div>
</template>
<script>
import folderc from '../components/folderc';
export default {
props: {
folderId: Number,
},
components: {
folderc,
},
...
...
Please
register
or
login
to post a comment