Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
8cb153a7
Commit
8cb153a7
authored
2 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改富文本样式
parent
78934a8b
Pipeline
#60139
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
AddModal.jsx
src/pages/platformCenter/integratedLogin/AddModal.jsx
+2
-18
integrate.less
src/pages/platformCenter/integratedLogin/integrate.less
+1
-0
No files found.
src/pages/platformCenter/integratedLogin/AddModal.jsx
View file @
8cb153a7
...
...
@@ -30,7 +30,6 @@ import { PlusOutlined, LoadingOutlined } from '@ant-design/icons';
import
{
get
,
PUBLISH_SERVICE
}
from
'@/services'
;
import
PreviewModal
from
'./PreviewModal'
;
const
{
Item
}
=
Form
;
const
{
TextArea
}
=
Input
;
const
modules
=
{
toolbar
:
[
[{
header
:
[
1
,
2
,
3
,
4
,
5
,
6
,
false
]
}],
...
...
@@ -57,16 +56,6 @@ const AddModal = props => {
const
[
optionslist
,
setOptionsList
]
=
useState
([]);
const
[
keepLength
,
setKeeplength
]
=
useState
(
''
);
const
[
fileList
,
setFileList
]
=
useState
([]);
// const [formats, setFormats] = useState([
// 'bold',
// 'italic',
// 'underline',
// 'strike',
// 'blockquote',
// 'list',
// 'bullet',
// 'indent',
// ]);
const
{
Option
}
=
Select
;
...
...
@@ -245,7 +234,6 @@ const AddModal = props => {
if
(
validate
)
{
setLoading
(
true
);
let
obj
=
form
.
getFieldsValue
();
console
.
log
(
obj
);
if
(
obj
.
internetAddress
||
obj
.
intranetAddress
)
{
if
(
obj
.
accountParamValue
==
'熊猫ticket'
)
{
obj
.
accountParamValue
=
1
;
...
...
@@ -253,7 +241,6 @@ const AddModal = props => {
obj
.
accountParamValue
=
2
;
}
let
aa
=
{
key
:
obj
.
accountParamKey
,
value
:
obj
.
accountParamValue
};
console
.
log
(
aa
);
let
bb
=
[];
bb
.
push
(
aa
);
if
(
obj
.
iconUrl
.
file
)
{
...
...
@@ -263,7 +250,6 @@ const AddModal = props => {
if
(
obj
.
coordinate
)
{
data
=
obj
.
coordinate
.
split
(
','
);
}
console
.
log
(
fileList
);
let
dataList
=
[];
if
(
fileList
.
length
>
0
)
{
fileList
.
map
(
i
=>
{
...
...
@@ -273,7 +259,6 @@ const AddModal = props => {
dataList
.
push
(
i
.
response
.
data
);
}
});
console
.
log
(
dataList
);
}
if
(
type
===
'add'
)
{
AddIntegratedLogin
({
...
...
@@ -763,14 +748,13 @@ const AddModal = props => {
{
fileList
.
length
>=
3
?
null
:
uploadButton1
}
</
Upload
>
</
Item
>
<
Item
label=
"站点详情"
name=
"siteDescription"
>
{
/* <TextArea /> */
}
<
Item
label=
"站点简介"
name=
"siteDescription"
>
<
ReactQuill
style=
{
{
height
:
'150px'
}
}
placeholder=
"请输入内容"
theme=
"snow"
// 主题
modules=
{
modules
}
onChange=
{
onQuillChange
}
// formats=
{
formats
}
/>
</
Item
>
</>
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/integratedLogin/integrate.less
View file @
8cb153a7
...
...
@@ -95,3 +95,4 @@
.ant-popover-message > .anticon {
margin-top: 6px;
}
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