박기범

빠른 액세스 기능 및 파일 수정 기능 추가

1 { 1 {
2 - "accessKeyId": "ASIAXZL2SWFEZSIHHRDT", 2 + "accessKeyId": "ASIAXZL2SWFEWQZ6ZNEU",
3 - "secretAccessKey": "cdcXCezNz9OhFowZxE2KSftDmT3xSYAtiLJl1dFk", 3 + "secretAccessKey": "lqUJTmGVElVEJ6RIgacZd1n1ARvVSNrT3JisfpsO",
4 - "sessionToken": "FwoGZXIvYXdzEJf//////////wEaDG1NOyJj0/Xdzqu+uyLDAa8vgymCVldXPpET+AOsq5CXhMzhMEDmWogIaq6lWJVy8sdnK9tOXY/u9vz8p6cTm7xWb0YiX6TKDhlfFZX6ynv0Xw/p/qvbn4lPsoT8K9PpdDOWJUMA8qX/5RrKNO4OAolUkw+EMjQbK38u+g3HEVP8mo+DiGLrBGj+0Ar0xhGiU/Lg5qKRdp+tEYIn0ypDNu/2q13apRiMH7n+OVFzilil10g1qq8NLaW98QvVC4xRIgkjAMcRqA9yPdVrhc9yFyqjrCjA+vj2BTIt8CDkFsEAFqJR3W0YPDbsu2YdTq3SKgpOsxNXGsEFMaEhFxodp5/Qsk7tfMsO", 4 + "sessionToken": "FwoGZXIvYXdzEJv//////////wEaDJAjP1JBdrIxgxqlTyLDAQCU1f4zp5nu4cNnp4U0pRa9ZGqjQKlxjsUWwH478XU6XUNJcN2NMmmZ0Cl8/kHz+GMvmgax7RxSpo0VsaReh/9+1SMcOB3Kcc+sqRivkCBAZAXfaKrdKhuR2WyCe+M+sZKXdqXNpzHPa/6tUVDBNIMC/aH1KMCwi6XChO3M4BBMZNeY73bu7dLcvPVfaBmRQpaTrqTRky7YiwcPHnnMabOLR6k8OX7Uq/gIYx4pWCJ7AGbVts/quDqoK4nWMs+9Ah6A1CjP4Pn2BTItGKcDLysH3w7vuuw+5dcrxRcFawD0sbOGkJ2YX7fvxHPf410Sm4Vyo2Jf94hM",
5 "region": "us-east-1" 5 "region": "us-east-1"
6 } 6 }
......
...@@ -629,18 +629,18 @@ export default { ...@@ -629,18 +629,18 @@ export default {
629 async modify_file(){ 629 async modify_file(){
630 try{ 630 try{
631 const modifyData = { 631 const modifyData = {
632 - user_id: cfilename.user_id, 632 + user_id: this.cfilename.user_id,
633 - cur: cfilename.location, 633 + cur: this.cfilename.location,
634 name: this.current_filename, 634 name: this.current_filename,
635 content: this.current_filedata 635 content: this.current_filedata
636 } 636 }
637 const result = await modifyFile(modifyData); 637 const result = await modifyFile(modifyData);
638 const after_data={ 638 const after_data={
639 - id: cfilename.user_id, 639 + id: this.cfilename.user_id,
640 - cur: cfilename.location, 640 + cur: this.cfilename.location,
641 fileName: this.current_filename 641 fileName: this.current_filename
642 } 642 }
643 - const detailData = await detailFile() 643 + const detailData = await detailFile(after_data)
644 }catch(error){ 644 }catch(error){
645 console.log('에러'); 645 console.log('에러');
646 console.log(error); 646 console.log(error);
...@@ -678,4 +678,4 @@ export default { ...@@ -678,4 +678,4 @@ export default {
678 }, 678 },
679 }, 679 },
680 }; 680 };
681 -</script>
...\ No newline at end of file ...\ No newline at end of file
681 +</script>
......
...@@ -10,6 +10,7 @@ export default new Vuex.Store({ ...@@ -10,6 +10,7 @@ export default new Vuex.Store({
10 files: [], 10 files: [],
11 cur: '/', 11 cur: '/',
12 parent: '/', 12 parent: '/',
13 + recentList:[]
13 }, 14 },
14 mutations: { 15 mutations: {
15 setId(state, userid) { 16 setId(state, userid) {
...@@ -30,6 +31,9 @@ export default new Vuex.Store({ ...@@ -30,6 +31,9 @@ export default new Vuex.Store({
30 setParent(state, parent) { 31 setParent(state, parent) {
31 state.parent = parent; 32 state.parent = parent;
32 }, 33 },
34 + setRecentList(state, list){
35 + state.recentList = list;
36 + }
33 }, 37 },
34 getters: { 38 getters: {
35 isLogin(state) { 39 isLogin(state) {
...@@ -44,6 +48,9 @@ export default new Vuex.Store({ ...@@ -44,6 +48,9 @@ export default new Vuex.Store({
44 fileL(state) { 48 fileL(state) {
45 return state.files; 49 return state.files;
46 }, 50 },
51 + recentL(state){
52 + return state.recentList;
53 + },
47 cur(state) { 54 cur(state) {
48 return state.cur; 55 return state.cur;
49 }, 56 },
......