Commit 61132f07 by 李伟康

问卷选项去掉限制&修复接龙

1 parent c8079f28
...@@ -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')
}, },
......
...@@ -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)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!