Skip to content

Instantly share code, notes, and snippets.

@ChengYiWu
Last active January 30, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChengYiWu/f39192c563a10b2be939d3c2156ba177 to your computer and use it in GitHub Desktop.
Save ChengYiWu/f39192c563a10b2be939d3c2156ba177 to your computer and use it in GitHub Desktop.
Step1 測試
// TODO
const validEbPayIdCardInfoGroup = (err, values) => {
if (err && (err.eb_pay_id_card_date || err.eb_pay_id_card_place || err.eb_pay_id_from || err.eb_pay_id_pic)) {
setEbPayIdCardInfoGroupValid({
status: 'error',
message: '請填寫負責人身份證相關資訊'
});
} else {
setEbPayIdCardInfoGroupValid({ status: null, message: null });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment