Commit 9e0a3360 by chenyu

update: update

parent cc5e9426
......@@ -1887,8 +1887,9 @@ export default {
case 'tag025':
for (let i = 0; i < tagParams.template.length; i++) {
if (tagParams.template[i].templateCode == 'tag025') {
this.templateData[i].isAgree=tagValue.val[0].data.value.length?1:0;
this.templateData[i].ids=tagValue.val[0].data.value.split(' ')
this.templateData[i].isAgree=[0,1].includes(tagValue.val[0].data.value)?tagValue.val[0].data.value:1;
this.templateData[i].ids=[0,1].includes(tagValue.val[0].data.value)?[]: tagValue.val[0].data.value.split(' ')
console.log(this.templateData[i].ids);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment