Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8ea43f30
authored
Dec 04, 2024
by
Lesan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 雪花id导致int精度丢失
parent
abdaf2e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/components/bpmnProcessDesigner/package/penal/task/task-components/UserTask.vue
+5
-1
No files found.
src/components/bpmnProcessDesigner/package/penal/task/task-components/UserTask.vue
View file @
8ea43f30
...
@@ -175,7 +175,11 @@ const resetTaskForm = () => {
...
@@ -175,7 +175,11 @@ const resetTaskForm = () => {
// 特殊:流程表达式,只有一个 input 输入框
// 特殊:流程表达式,只有一个 input 输入框
userTaskForm
.
value
.
candidateParam
=
[
candidateParamStr
]
userTaskForm
.
value
.
candidateParam
=
[
candidateParamStr
]
}
else
{
}
else
{
userTaskForm
.
value
.
candidateParam
=
candidateParamStr
.
split
(
','
).
map
((
item
)
=>
item
)
userTaskForm
.
value
.
candidateParam
=
candidateParamStr
.
split
(
','
).
map
((
item
)
=>
{
// 如果数字超出了最大安全整数范围,则将其作为字符串处理
let
num
=
Number
(
item
)
return
num
>
Number
.
MAX_SAFE_INTEGER
||
num
<
-
Number
.
MAX_SAFE_INTEGER
?
item
:
num
})
}
}
}
else
{
}
else
{
userTaskForm
.
value
.
candidateParam
=
[]
userTaskForm
.
value
.
candidateParam
=
[]
...
...
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