Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
71c88ce3
Commit
71c88ce3
authored
May 07, 2025
by
yanglang123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e8d740e5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
7 deletions
+10
-7
dist.zip
+0
-0
src/common/Editor/editor.js
+2
-2
src/pages/SystemManagement/Information/InfoComment.jsx
+3
-1
src/pages/SystemManagement/Information/addEditForm.jsx
+2
-3
src/pages/SystemManagement/Information/index.jsx
+2
-0
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/banner.jsx
+1
-1
No files found.
dist.zip
View file @
71c88ce3
No preview for this file type
src/common/Editor/editor.js
View file @
71c88ce3
...
...
@@ -16,11 +16,11 @@ class Editor extends PureComponent {
super
(...
arguments
);
this
.
state
=
{
editorState
:
""
,
defaultValue
:
""
,
defaultValue
:
"
111
"
,
};
}
componentDidMount
()
{
const
{
importContent
}
=
this
.
props
;
//
const { importContent } = this.props;
// if (importContent) {
// return {
// defaultValue: BraftEditor.createEditorState(importContent),
...
...
src/pages/SystemManagement/Information/InfoComment.jsx
View file @
71c88ce3
...
...
@@ -312,6 +312,7 @@ class InfoComment extends React.Component {
this
.
props
.
getcommentlist
({
trainingProjectId
:
this
.
props
.
id
,
pageNo
:
page
,
bizType
:
2
,
pageSize
:
pageSize
,
});
}
...
...
@@ -320,6 +321,7 @@ class InfoComment extends React.Component {
this
.
setState
({
pageSize
:
size
});
this
.
props
.
getcommentlist
({
trainingProjectId
:
this
.
props
.
id
,
bizType
:
2
,
pageNo
:
this
.
state
.
pageNo
,
pageSize
:
size
,
});
...
...
@@ -327,7 +329,6 @@ class InfoComment extends React.Component {
render
()
{
const
{
value
}
=
this
.
state
;
const
{
commentlist
}
=
this
.
props
;
console
.
log
(
commentlist
,
"**&*&*&*&*&*&*&commentlist*&*&*&*&*&*&"
);
return
(
<
div
className=
{
styles
.
comment
}
>
<
div
className=
{
styles
.
mar40
}
>
...
...
@@ -361,6 +362,7 @@ class InfoComment extends React.Component {
showTotal=
{
this
.
showTotal
}
showSizeChanger
showQuickJumper
defaultCurrent=
{
1
}
defaultPageSize=
{
20
}
pageSizeOptions=
{
[
"20"
,
"30"
,
"40"
,
"50"
]
}
onChange=
{
this
.
handlePageChange
}
...
...
src/pages/SystemManagement/Information/addEditForm.jsx
View file @
71c88ce3
...
...
@@ -54,7 +54,9 @@ class addEdit extends React.Component {
}
componentDidMount
()
{
const
{
seeEdit
,
type
,
treeData
}
=
this
.
props
;
// console.log(this.props.keyValue,seeEdit.content,'查看是否有缓存')
this
.
props
.
getMenu
({
code
:
"topic_type"
,
});
...
...
@@ -79,7 +81,6 @@ class addEdit extends React.Component {
//多媒体组件事件
getEditorHtml
=
editor
=>
{
console
.
log
(
editor
);
this
.
props
.
onEditor
(
editor
);
};
//标签组件事件
...
...
@@ -107,7 +108,6 @@ class addEdit extends React.Component {
//上传文件
beforeUpload
(
file
,
fileList
)
{
console
.
log
(
"检测打印变量=file "
,
file
);
if
(
file
.
size
>
1024
*
1024
*
50
)
{
message
.
error
(
"上传最大限制50mb以内"
);
return
;
...
...
@@ -174,7 +174,6 @@ class addEdit extends React.Component {
//文章类型事件
loadData
=
(
value
,
selectedOption
)
=>
{
console
.
log
(
"selectedOptions==="
,
value
,
selectedOption
);
this
.
setState
({
noticeOrNews
:
selectedOption
[
0
].
label
,
});
...
...
src/pages/SystemManagement/Information/index.jsx
View file @
71c88ce3
...
...
@@ -847,6 +847,7 @@ class Information extends React.Component {
_this
.
setState
({
record
:
_this
.
props
.
tableList
,
total
:
_this
.
props
.
tableList
.
total
,
editor
:
""
,
});
}
);
...
...
@@ -884,6 +885,7 @@ class Information extends React.Component {
_this
.
setState
({
record
:
_this
.
props
.
tableList
,
total
:
_this
.
props
.
tableList
.
total
,
editor
:
""
,
});
}
);
...
...
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/banner.jsx
View file @
71c88ce3
...
...
@@ -166,7 +166,7 @@ class Banner extends Component {
// id: func.getUrlParam(location.search, "id"),
id
:
history
.
state
.
state
.
id
,
pageNo
:
1
,
pageSize
:
5
,
pageSize
:
10
,
},
data
=>
{
let
{
total
=
0
,
current
=
0
,
size
=
10
}
=
data
;
...
...
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