Commit 40b3e733df8ea6b14ceeb6a355318cc57c10fe1d

Authored by fengwotao
1 parent 0f76c8fc

fix: DEFECT-1632 场景联动新增的时候,已经选择了还提示请选择

... ... @@ -190,12 +190,14 @@
190 190 });
191 191
192 192 const changeOutTarget = () => {
  193 + clearValidate('outTarget');
193 194 emit('getActionFormArr');
194 195 };
195   - const [registerAction, { getFieldsValue, resetFields, setFieldsValue, validate }] = useForm({
196   - schemas: actionSchema,
197   - showActionButtonGroup: false,
198   - });
  196 + const [registerAction, { getFieldsValue, resetFields, setFieldsValue, validate, clearValidate }] =
  197 + useForm({
  198 + schemas: actionSchema,
  199 + showActionButtonGroup: false,
  200 + });
199 201
200 202 // 获取整个执行动作表单值
201 203 const getFieldsValueFunc = () => {
... ...