|
@@ -18,7 +18,6 @@ const handleListener = obj => {
|
|
|
const exportJsonEv = () => {
|
|
|
const formData = EReditorRef.value.getData()
|
|
|
processForm.value = JSON.stringify(formData)
|
|
|
- debugger
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -26,7 +25,6 @@ const exportJsonEv = () => {
|
|
|
* 2、如果不唯一,提示用户需要重新填写表单字段Key
|
|
|
*/
|
|
|
const validateOnlyEv = () => {
|
|
|
- console.log(processForm.value, '======')
|
|
|
if (processForm.value === '{}') return false
|
|
|
const finallyFormData = JSON.parse(processForm.value)
|
|
|
const fields = finallyFormData.fields.map(item => item.key)
|