src/menu/components/form/simple-form/index.jsx
@@ -375,7 +375,7 @@ }) } if (item.type === 'switch' || item.type === 'check') { if (['switch', 'check', 'popSelect'].includes(item.type)) { _linksupFields.push({ field: item.field, label: item.label @@ -481,6 +481,10 @@ pasteForm = (forms, res) => { let _config = fromJS(this.state.card).toJS() forms.forEach(item => { delete item.focus }) _config.subcards[0].fields = forms if (res.subButton) { @@ -511,8 +515,6 @@ } }) } else { _config.subcards[0].fields = forms this.updateComponent(_config) } }