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 02:21:53 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
45e2cd7c6207f332dd94a251f50d0e130236d225
45e2cd7c
1 parent
e9261198
빠른 액세스 기능 및 파일 수정 기능 추가
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
backend/routes/modules/awsconfig.json
front-end/src/components/FileList.vue
front-end/src/store/index.js
backend/routes/modules/awsconfig.json
View file @
45e2cd7
{
"accessKeyId"
:
"ASIAXZL2SWFE
ZSIHHRDT
"
,
"secretAccessKey"
:
"
cdcXCezNz9OhFowZxE2KSftDmT3xSYAtiLJl1dFk
"
,
"sessionToken"
:
"FwoGZXIvYXdzEJ
f//////////wEaDG1NOyJj0/Xdzqu+uyLDAa8vgymCVldXPpET+AOsq5CXhMzhMEDmWogIaq6lWJVy8sdnK9tOXY/u9vz8p6cTm7xWb0YiX6TKDhlfFZX6ynv0Xw/p/qvbn4lPsoT8K9PpdDOWJUMA8qX/5RrKNO4OAolUkw+EMjQbK38u+g3HEVP8mo+DiGLrBGj+0Ar0xhGiU/Lg5qKRdp+tEYIn0ypDNu/2q13apRiMH7n+OVFzilil10g1qq8NLaW98QvVC4xRIgkjAMcRqA9yPdVrhc9yFyqjrCjA+vj2BTIt8CDkFsEAFqJR3W0YPDbsu2YdTq3SKgpOsxNXGsEFMaEhFxodp5/Qsk7tfMsO
"
,
"accessKeyId"
:
"ASIAXZL2SWFE
WQZ6ZNEU
"
,
"secretAccessKey"
:
"
lqUJTmGVElVEJ6RIgacZd1n1ARvVSNrT3JisfpsO
"
,
"sessionToken"
:
"FwoGZXIvYXdzEJ
v//////////wEaDJAjP1JBdrIxgxqlTyLDAQCU1f4zp5nu4cNnp4U0pRa9ZGqjQKlxjsUWwH478XU6XUNJcN2NMmmZ0Cl8/kHz+GMvmgax7RxSpo0VsaReh/9+1SMcOB3Kcc+sqRivkCBAZAXfaKrdKhuR2WyCe+M+sZKXdqXNpzHPa/6tUVDBNIMC/aH1KMCwi6XChO3M4BBMZNeY73bu7dLcvPVfaBmRQpaTrqTRky7YiwcPHnnMabOLR6k8OX7Uq/gIYx4pWCJ7AGbVts/quDqoK4nWMs+9Ah6A1CjP4Pn2BTItGKcDLysH3w7vuuw+5dcrxRcFawD0sbOGkJ2YX7fvxHPf410Sm4Vyo2Jf94hM
"
,
"region"
:
"us-east-1"
}
...
...
front-end/src/components/FileList.vue
View file @
45e2cd7
...
...
@@ -629,18 +629,18 @@ export default {
async modify_file(){
try{
const modifyData = {
user_id: cfilename.user_id,
cur: cfilename.location,
user_id:
this.
cfilename.user_id,
cur:
this.
cfilename.location,
name: this.current_filename,
content: this.current_filedata
}
const result = await modifyFile(modifyData);
const after_data={
id: cfilename.user_id,
cur: cfilename.location,
id:
this.
cfilename.user_id,
cur:
this.
cfilename.location,
fileName: this.current_filename
}
const detailData = await detailFile()
const detailData = await detailFile(
after_data
)
}catch(error){
console.log('에러');
console.log(error);
...
...
front-end/src/store/index.js
View file @
45e2cd7
...
...
@@ -10,6 +10,7 @@ export default new Vuex.Store({
files
:
[],
cur
:
'/'
,
parent
:
'/'
,
recentList
:[]
},
mutations
:
{
setId
(
state
,
userid
)
{
...
...
@@ -30,6 +31,9 @@ export default new Vuex.Store({
setParent
(
state
,
parent
)
{
state
.
parent
=
parent
;
},
setRecentList
(
state
,
list
){
state
.
recentList
=
list
;
}
},
getters
:
{
isLogin
(
state
)
{
...
...
@@ -44,6 +48,9 @@ export default new Vuex.Store({
fileL
(
state
)
{
return
state
.
files
;
},
recentL
(
state
){
return
state
.
recentList
;
},
cur
(
state
)
{
return
state
.
cur
;
},
...
...
Please
register
or
login
to post a comment