Showing
4 changed files
with
0 additions
and
35 deletions
... | @@ -27,7 +27,6 @@ function makeFolder(folderData) { | ... | @@ -27,7 +27,6 @@ function makeFolder(folderData) { |
27 | return axios.post('/api/folder/makefolder', folderData); | 27 | return axios.post('/api/folder/makefolder', folderData); |
28 | } | 28 | } |
29 | 29 | ||
30 | -<<<<<<< HEAD | ||
31 | function file(userData){ | 30 | function file(userData){ |
32 | return axios.get('/api/file', userData, { | 31 | return axios.get('/api/file', userData, { |
33 | params: { | 32 | params: { |
... | @@ -45,6 +44,3 @@ function dropbox(userData){ | ... | @@ -45,6 +44,3 @@ function dropbox(userData){ |
45 | } | 44 | } |
46 | 45 | ||
47 | // export { registerUser, loginUser, dropbox, makeFolder }; | 46 | // export { registerUser, loginUser, dropbox, makeFolder }; |
48 | -======= | ||
49 | -export { registerUser, loginUser, folder, makeFolder }; | ||
50 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ... | ... |
... | @@ -107,11 +107,7 @@ | ... | @@ -107,11 +107,7 @@ |
107 | <v-container> | 107 | <v-container> |
108 | <div> | 108 | <div> |
109 | <v-icon>mdi-folder</v-icon> | 109 | <v-icon>mdi-folder</v-icon> |
110 | -<<<<<<< HEAD | ||
111 | <v-text-field placeholder="name" id="foldername" type="text" v-model="foldername" ></v-text-field> | 110 | <v-text-field placeholder="name" id="foldername" type="text" v-model="foldername" ></v-text-field> |
112 | -======= | ||
113 | - <v-text-field placeholder="name" id="foldername" type="text" v-model="foldername"></v-text-field> | ||
114 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
115 | </div> | 111 | </div> |
116 | </v-container> | 112 | </v-container> |
117 | <v-card-actions> | 113 | <v-card-actions> |
... | @@ -149,17 +145,11 @@ import { folder, makeFolder } from '../api/index'; | ... | @@ -149,17 +145,11 @@ import { folder, makeFolder } from '../api/index'; |
149 | id : this.$store.state.id, | 145 | id : this.$store.state.id, |
150 | cur: '/' | 146 | cur: '/' |
151 | } | 147 | } |
152 | -<<<<<<< HEAD | ||
153 | - const response = await dropbox(userData); | ||
154 | - this.$store.commit('setFolder', response.data.folders); | ||
155 | - this.$store.commit('setFile', response.data.files); | ||
156 | -======= | ||
157 | const response = await folder(curData); | 148 | const response = await folder(curData); |
158 | console.log(response.data); | 149 | console.log(response.data); |
159 | this.$store.commit('setFolder', response.data.folders); | 150 | this.$store.commit('setFolder', response.data.folders); |
160 | this.$store.commit('setCur', response.data.cur); | 151 | this.$store.commit('setCur', response.data.cur); |
161 | this.$store.commit('setParent', response.data.parentPath); | 152 | this.$store.commit('setParent', response.data.parentPath); |
162 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
163 | } catch (error) { | 153 | } catch (error) { |
164 | console.log("에러"); | 154 | console.log("에러"); |
165 | console.log(error.response.data); | 155 | console.log(error.response.data); |
... | @@ -187,11 +177,6 @@ import { folder, makeFolder } from '../api/index'; | ... | @@ -187,11 +177,6 @@ import { folder, makeFolder } from '../api/index'; |
187 | this.initFolderName(); | 177 | this.initFolderName(); |
188 | this.dialog = false; | 178 | this.dialog = false; |
189 | } | 179 | } |
190 | -<<<<<<< HEAD | ||
191 | - } | ||
192 | - | ||
193 | - } | ||
194 | -======= | ||
195 | }, | 180 | }, |
196 | async moveF(move_folder_name){ | 181 | async moveF(move_folder_name){ |
197 | try { | 182 | try { |
... | @@ -210,6 +195,5 @@ import { folder, makeFolder } from '../api/index'; | ... | @@ -210,6 +195,5 @@ import { folder, makeFolder } from '../api/index'; |
210 | } | 195 | } |
211 | } | 196 | } |
212 | } | 197 | } |
213 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
214 | } | 198 | } |
215 | </script> | 199 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -67,14 +67,10 @@ export default new VueRouter ({ | ... | @@ -67,14 +67,10 @@ export default new VueRouter ({ |
67 | name:'Feedback', | 67 | name:'Feedback', |
68 | component: () => import('../views/Feedback.vue') | 68 | component: () => import('../views/Feedback.vue') |
69 | }, | 69 | }, |
70 | -<<<<<<< HEAD | ||
71 | { | 70 | { |
72 | path: '/folder', | 71 | path: '/folder', |
73 | name: 'Folder', | 72 | name: 'Folder', |
74 | component: () => import('../views/FolderPage.vue') | 73 | component: () => import('../views/FolderPage.vue') |
75 | }, | 74 | }, |
76 | -======= | ||
77 | - | ||
78 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
79 | ] | 75 | ] |
80 | }) | 76 | }) | ... | ... |
... | @@ -9,10 +9,7 @@ export default new Vuex.Store({ | ... | @@ -9,10 +9,7 @@ export default new Vuex.Store({ |
9 | folders: {}, | 9 | folders: {}, |
10 | files: {}, | 10 | files: {}, |
11 | cur: '/', | 11 | cur: '/', |
12 | -<<<<<<< HEAD | ||
13 | -======= | ||
14 | parent: '/' | 12 | parent: '/' |
15 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
16 | }, | 13 | }, |
17 | mutations: { | 14 | mutations: { |
18 | setId(state, userid) { | 15 | setId(state, userid) { |
... | @@ -49,7 +46,6 @@ export default new Vuex.Store({ | ... | @@ -49,7 +46,6 @@ export default new Vuex.Store({ |
49 | }, | 46 | }, |
50 | cur(state) { | 47 | cur(state) { |
51 | return state.cur; | 48 | return state.cur; |
52 | -<<<<<<< HEAD | ||
53 | }, | 49 | }, |
54 | setFolder(state, folderlist){ | 50 | setFolder(state, folderlist){ |
55 | state.folders = folderlist; | 51 | state.folders = folderlist; |
... | @@ -58,11 +54,4 @@ export default new Vuex.Store({ | ... | @@ -58,11 +54,4 @@ export default new Vuex.Store({ |
58 | state.files = filelist; | 54 | state.files = filelist; |
59 | }, | 55 | }, |
60 | }, | 56 | }, |
61 | -======= | ||
62 | - }, | ||
63 | - parent(state) { | ||
64 | - return state.parent; | ||
65 | - } | ||
66 | - } | ||
67 | ->>>>>>> ec5658f978ed2a5a94bba39bcb9aecf9edc70c36 | ||
68 | }) | 57 | }) |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment