Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo-1
Commits
58a23177
Unverified
Commit
58a23177
authored
Apr 19, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
整理注释
parent
2650ae95
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+1
-1
src/main/webapp/js/admin/comment.js
src/main/webapp/js/admin/comment.js
+5
-5
src/main/webapp/js/admin/commentList.js
src/main/webapp/js/admin/commentList.js
+1
-1
src/main/webapp/js/common.js
src/main/webapp/js/common.js
+1
-1
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+1
-1
No files found.
README.md
View file @
58a23177
...
...
@@ -39,7 +39,7 @@ PS:如果你需要搭建一个社区平台,可以考虑使用 [Sym](https://
*
Markdown / Emoji
*
[
聚合分类
](
https://github.com/b3log/solo/issues/12256
)
/ 标签
*
自定义导航
页面 /
链接
*
自定义导航链接
*
随机文章 / 相关文章 / 置顶 / 更新提醒
*
自定义文章永久链接 / 签名档
*
配置站点 SEO 参数 / 公告 / 页脚
...
...
src/main/webapp/js/admin/comment.js
View file @
58a23177
...
...
@@ -27,7 +27,7 @@ admin.comment = {
/*
* 打开评论窗口
* @id 该评论对应的 id
* @fromId 该评论来自文章/草稿
/自定义页面
* @fromId 该评论来自文章/草稿
*/
open
:
function
(
id
,
fromId
)
{
this
.
getList
(
id
,
fromId
)
...
...
@@ -37,8 +37,8 @@ admin.comment = {
/*
* 获取评论列表
*
* @onId 该评论对应的
实体 id,可能是文章,也可能是自定义页面
* @fromId 该评论来自文章/草稿
/自定义页面
* @onId 该评论对应的
文章 id
* @fromId 该评论来自文章/草稿
*/
getList
:
function
(
onId
,
fromId
)
{
$
(
'
#loadMsg
'
).
text
(
Label
.
loadingLabel
)
...
...
@@ -104,8 +104,8 @@ admin.comment = {
/*
* 删除评论
* @id 评论 id
* @fromId 该评论来自文章/草稿
/自定义页面
* @articleId 该评论对应的
实体 id,可能是文章,也可能是自定义页面
* @fromId 该评论来自文章/草稿
* @articleId 该评论对应的
文章 id
*/
del
:
function
(
id
,
fromId
,
articleId
)
{
var
isDelete
=
confirm
(
Label
.
confirmRemoveLabel
+
Label
.
commentLabel
+
'
?
'
)
...
...
src/main/webapp/js/admin/commentList.js
View file @
58a23177
...
...
@@ -120,7 +120,7 @@ admin.commentList = {
/*
* 删除评论
* @id 评论 id
* @type 评论类型:文章
/自定义页面
* @type 评论类型:文章
*/
del
:
function
(
id
,
type
)
{
if
(
confirm
(
Label
.
confirmRemoveLabel
+
Label
.
commentLabel
+
'
?
'
))
{
...
...
src/main/webapp/js/common.js
View file @
58a23177
...
...
@@ -58,7 +58,7 @@ var Util = {
},
/**
* 初始化 Pjax
* @param cb 除文章
和自定义页面
外的其他页面加载回调
* @param cb 除文章外的其他页面加载回调
*/
initPjax
:
function
(
cb
)
{
if
(
$
(
'
#pjax
'
).
length
===
1
)
{
...
...
src/main/webapp/js/page.js
View file @
58a23177
...
...
@@ -88,7 +88,7 @@ $.extend(Page.prototype, {
}
},
/*
* @description 文章
/自定义页面
加载
* @description 文章加载
*/
load
:
function
()
{
var
that
=
this
...
...
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