Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
3918d90d
Commit
3918d90d
authored
Jan 17, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成了基础评论功能
parent
c22294db
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
172 deletions
+90
-172
index.js
api/article/index.js
+10
-1
articleDetail.vue
pagesArticle/articleDetail.vue
+80
-171
No files found.
api/article/index.js
View file @
3918d90d
...
@@ -39,7 +39,16 @@ export function getOssUrl(id) {
...
@@ -39,7 +39,16 @@ export function getOssUrl(id) {
//查看动态详情
//查看动态详情
export
function
articleDetail
(
articleId
){
export
function
articleDetail
(
articleId
){
return
request
({
return
request
({
url
:
'/
opma
rticle/detail/'
+
articleId
,
url
:
'/
app/open/opmA
rticle/detail/'
+
articleId
,
method
:
'GET'
,
method
:
'GET'
,
})
})
}
}
//动态评论
export
function
comment
(
data
)
{
return
request
({
url
:
'/opmarticle/comment'
,
data
:
data
,
method
:
'POST'
,
})
}
pagesArticle/articleDetail.vue
View file @
3918d90d
This diff is collapsed.
Click to expand it.
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