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-05-30 01:08:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e5b47bf8823a635e35660c13a6ed4976ea05acf5
e5b47bf8
1 parent
a2e3c787
.
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
35 deletions
front-end/src/api/index.js
front-end/src/components/FileList.vue
front-end/src/routes/index.js
front-end/src/store/index.js
front-end/src/api/index.js
View file @
e5b47bf
...
...
@@ -27,7 +27,6 @@ function makeFolder(folderData) {
return
axios
.
post
(
'/api/folder/makefolder'
,
folderData
);
}
<<<<<<<
HEAD
function
file
(
userData
){
return
axios
.
get
(
'/api/file'
,
userData
,
{
params
:
{
...
...
@@ -45,6 +44,3 @@ function dropbox(userData){
}
// export { registerUser, loginUser, dropbox, makeFolder };
=======
export
{
registerUser
,
loginUser
,
folder
,
makeFolder
};
>>>>>>>
ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
...
...
front-end/src/components/FileList.vue
View file @
e5b47bf
...
...
@@ -107,11 +107,7 @@
<v-container>
<div>
<v-icon>mdi-folder</v-icon>
<<<<<<< HEAD
<v-text-field placeholder="name" id="foldername" type="text" v-model="foldername" ></v-text-field>
=======
<v-text-field placeholder="name" id="foldername" type="text" v-model="foldername"></v-text-field>
>>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
</div>
</v-container>
<v-card-actions>
...
...
@@ -149,17 +145,11 @@ import { folder, makeFolder } from '../api/index';
id : this.$store.state.id,
cur: '/'
}
<<<<<<< HEAD
const response = await dropbox(userData);
this.$store.commit('setFolder', response.data.folders);
this.$store.commit('setFile', response.data.files);
=======
const response = await folder(curData);
console.log(response.data);
this.$store.commit('setFolder', response.data.folders);
this.$store.commit('setCur', response.data.cur);
this.$store.commit('setParent', response.data.parentPath);
>>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
} catch (error) {
console.log("에러");
console.log(error.response.data);
...
...
@@ -187,11 +177,6 @@ import { folder, makeFolder } from '../api/index';
this.initFolderName();
this.dialog = false;
}
<<<<<<< HEAD
}
}
=======
},
async moveF(move_folder_name){
try {
...
...
@@ -210,6 +195,5 @@ import { folder, makeFolder } from '../api/index';
}
}
}
>>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
}
</script>
\ No newline at end of file
...
...
front-end/src/routes/index.js
View file @
e5b47bf
...
...
@@ -67,14 +67,10 @@ export default new VueRouter ({
name
:
'Feedback'
,
component
:
()
=>
import
(
'../views/Feedback.vue'
)
},
<<<<<<<
HEAD
{
path
:
'/folder'
,
name
:
'Folder'
,
component
:
()
=>
import
(
'../views/FolderPage.vue'
)
},
=======
>>>>>>>
ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
]
})
...
...
front-end/src/store/index.js
View file @
e5b47bf
...
...
@@ -9,10 +9,7 @@ export default new Vuex.Store({
folders
:
{},
files
:
{},
cur
:
'/'
,
<<<<<<<
HEAD
=======
parent
:
'/'
>>>>>>>
ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
},
mutations
:
{
setId
(
state
,
userid
)
{
...
...
@@ -49,7 +46,6 @@ export default new Vuex.Store({
},
cur
(
state
)
{
return
state
.
cur
;
<<<<<<<
HEAD
},
setFolder
(
state
,
folderlist
){
state
.
folders
=
folderlist
;
...
...
@@ -58,11 +54,4 @@ export default new Vuex.Store({
state
.
files
=
filelist
;
},
},
=======
},
parent
(
state
)
{
return
state
.
parent
;
}
}
>>>>>>>
ec5658f978ed2a5a94bba39bcb9aecf9edc70c36
})
\ No newline at end of file
...
...
Please
register
or
login
to post a comment