Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SicDoRak
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2023_2_WebPromgramming_8
SicDoRak
Commits
e0fa3b16
Commit
e0fa3b16
authored
1 year ago
by
Gwangbin
Browse files
Options
Downloads
Patches
Plain Diff
Fix: merge confilct
parent
602f53d5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/pages/Main.js
+0
-4
0 additions, 4 deletions
frontend/src/pages/Main.js
frontend/src/pages/PostRead.js
+0
-10
0 additions, 10 deletions
frontend/src/pages/PostRead.js
with
0 additions
and
14 deletions
frontend/src/pages/Main.js
+
0
−
4
View file @
e0fa3b16
...
@@ -52,11 +52,7 @@ function Main() {
...
@@ -52,11 +52,7 @@ function Main() {
async
function
requestLoadArticle
()
{
async
function
requestLoadArticle
()
{
const
response
=
await
axios
({
const
response
=
await
axios
({
<<<<<<<
HEAD
url
:
'
http://localhost:8080/article
'
,
// 통신할 웹문서
url
:
'
http://localhost:8080/article
'
,
// 통신할 웹문서
=======
url
:
'
http://localhost:8080/post/article
'
,
// 통신할 웹문서
>>>>>>>
2892
e0e9c9dd1752080a370ba274deeca6254246
method
:
'
get
'
,
// 통신할 방식
method
:
'
get
'
,
// 통신할 방식
});
});
return
response
;
return
response
;
...
...
This diff is collapsed.
Click to expand it.
frontend/src/pages/PostRead.js
+
0
−
10
View file @
e0fa3b16
...
@@ -57,20 +57,10 @@ function PostRead() {
...
@@ -57,20 +57,10 @@ function PostRead() {
});
});
}
}
<<<<<<<
HEAD
async
function
requestLoadArticleById
(
id
)
{
const
response
=
await
axios
({
url
:
`http://localhost:8080/article/
${
id
}
`
,
// 통신할 웹문서
method
:
'
get
'
,
// 통신할 방식
});
return
response
;
}
=======
const
onTextChange
=
(
e
)
=>
{
const
onTextChange
=
(
e
)
=>
{
const
{
value
}
=
e
.
target
;
const
{
value
}
=
e
.
target
;
setInputComment
(
value
);
setInputComment
(
value
);
}
}
>>>>>>>
2892
e0e9c9dd1752080a370ba274deeca6254246
const
onSubmit
=
e
=>
{
const
onSubmit
=
e
=>
{
e
.
preventDefault
();
e
.
preventDefault
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment