Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 61132f07
authored
Jan 23, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
问卷选项去掉限制&修复接龙
1 parent
c8079f28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/views/questionnaire/components/StepTwo/EditQuestions.vue
src/views/solitaire/index.vue
src/views/questionnaire/components/StepTwo/EditQuestions.vue
View file @
61132f0
...
@@ -379,9 +379,10 @@ export default {
...
@@ -379,9 +379,10 @@ export default {
let
arr
=
Array
.
from
(
new
Set
([...
value
.
split
(
'\n'
).
map
(
e
=>
e
)])),
let
arr
=
Array
.
from
(
new
Set
([...
value
.
split
(
'\n'
).
map
(
e
=>
e
)])),
str
=
[]
str
=
[]
arr
.
map
(
i
=>
{
arr
.
map
(
i
=>
{
if
(
i
&&
((
type
===
1
||
type
===
2
)
&&
str
.
length
<
10
||
(
type
===
4
||
type
===
5
)))
{
if
(
i
)
str
.
push
(
i
.
trim
())
str
.
push
(
i
.
trim
())
// if (i && ((type === 1 || type === 2) && str.length < 10 || (type === 4 || type === 5))) {
}
// str.push(i.trim())
})
})
this
.
configForm
[
inputKeyObject
[
type
]]
=
str
.
join
(
'\n'
)
this
.
configForm
[
inputKeyObject
[
type
]]
=
str
.
join
(
'\n'
)
},
},
...
...
src/views/solitaire/index.vue
View file @
61132f0
...
@@ -276,7 +276,7 @@ export default {
...
@@ -276,7 +276,7 @@ export default {
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
}
,
}
,
condition
:
row
=>
row
.
activityState
==
2
,
condition
:
row
=>
row
.
activityState
==
3
,
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
jumpDetail
(
row
,
1
)
click
:
row
=>
this
.
jumpDetail
(
row
,
1
)
}
}
...
...
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