Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
vridge-docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
JIRA
JIRA
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Gyeongho Park
vridge-docs
Commits
e0c4b126
Commit
e0c4b126
authored
Feb 24, 2023
by
shj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MOD] axi 요청 url 수정
parent
7f195dc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
default.vue
docs-front/layouts/default.vue
+4
-4
index.vue
docs-front/pages/_guide/index.vue
+1
-1
No files found.
docs-front/layouts/default.vue
View file @
e0c4b126
...
...
@@ -334,7 +334,7 @@ export default{
async
getGuideIndex
(){
this
.
loadingPageList
=
true
await
this
.
$axios
.
get
(
'
http://localhost:5000
/test/index'
)
await
this
.
$axios
.
get
(
'/test/index'
)
.
then
(
res
=>
{
this
.
rawIndexList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
let
unclassifiedList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
...
...
@@ -512,7 +512,7 @@ export default{
return
}
this
.
$axios
.
post
(
'
http://localhost:5000
/test'
,
this
.
formData
)
this
.
$axios
.
post
(
'/test'
,
this
.
formData
)
.
then
(
res
=>
{
this
.
getGuideIndex
()
})
...
...
@@ -528,7 +528,7 @@ export default{
return
}
this
.
$axios
.
put
(
'
http://localhost:5000
/test/index'
,
this
.
formData
)
this
.
$axios
.
put
(
'/test/index'
,
this
.
formData
)
.
then
(
res
=>
{
this
.
getGuideIndex
()
})
...
...
@@ -537,7 +537,7 @@ export default{
})
},
removeIndex
(){
this
.
$axios
.
delete
(
"
http://localhost:5000
/test"
,
{
this
.
$axios
.
delete
(
"/test"
,
{
params
:{
guideId
:
this
.
formData
.
id
,
}
...
...
docs-front/pages/_guide/index.vue
View file @
e0c4b126
...
...
@@ -143,7 +143,7 @@ export default {
methods
:{
async
getGuide
(
id
){
this
.
loading
=
true
await
this
.
$axios
.
get
(
'
http://localhost:5000
/test'
,{
await
this
.
$axios
.
get
(
'/test'
,{
params
:{
guideId
:
id
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment