Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6f1b3c41
authored
Dec 27, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决表情太大问题
1 parent
e1c66f82
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
src/views/task/addTask/index.vue
src/views/task/addTask/index.vue
View file @
6f1b3c4
...
@@ -1573,6 +1573,14 @@ export default {
...
@@ -1573,6 +1573,14 @@ export default {
}
}
})
})
}
}
// 处理软文表情太大
if
(
itm
.
textContent
)
{
let
regErr
=
/<img
\b
/gi
itm
.
textContent
=
itm
.
textContent
.
replace
(
regErr
,
`<img style="width: 18px;height 18px"`
)
}
})
})
})
})
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
...
@@ -1588,6 +1596,7 @@ export default {
...
@@ -1588,6 +1596,7 @@ export default {
}
}
params
.
missionDateList
=
this
.
taskList
params
.
missionDateList
=
this
.
taskList
params
.
id
=
this
.
taskId
params
.
id
=
this
.
taskId
console
.
log
(
params
,
'==='
)
// 创建
// 创建
if
(
!
this
.
isEditor
)
{
if
(
!
this
.
isEditor
)
{
taskApi
.
creatMission
(
params
).
then
(
taskApi
.
creatMission
(
params
).
then
(
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment