Commit ead35a6aa623e270806d1986718fde8de5942fd2
1 parent
67b1436e
feat:pc端 设备新增命令下发和引入json-editor-vue3
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | ... | @@ -43,8 +43,8 @@ |
| 43 | 43 | const jsonValidate = async (editor) => { |
| 44 | 44 | const res = await editor.validate(); |
| 45 | 45 | // res 是错误列表,如果是空数组,则表示检测没有错误 |
| 46 | - console.log(res); | |
| 47 | - if (res.length !== 0) return createMessage.error('请填写正确的命令下发json数据格式'); | |
| 46 | + // console.log(res); | |
| 47 | + if (res.length !== 0) createMessage.error('请填写正确的命令下发json数据格式'); | |
| 48 | 48 | }; |
| 49 | 49 | const disable = ref(false); |
| 50 | 50 | const [registerForm, { getFieldsValue, validate, resetFields }] = useForm({ | ... | ... |