message: fix(demo): account list page validate and save
diff: emits: ['success', 'register'],
  setup(_, { emit }) {
  const isUpdate = ref(true);
  + const rowId = ref('');
  const [registerForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
  labelWidth: 100,
  isUpdate.value = !!data?.isUpdate;
  if (unref(isUpdate)) {
  + rowId.value = data.record.id;
  setFieldsValue({
  ...data.record,
  });
  // TODO custom api
  console.log(values);
  closeModal();
  - emit('success');
  + emit('success', { isUpdate: unref(isUpdate), values: { ...values, id: rowId.value } });
  } finally {
  setModalProps({ confirmLoading: false });
  }
  