瀏覽代碼

update ui

master
Anna Ho 1 年之前
父節點
當前提交
a99ffc0b16
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/pages/OrganizationDetailPage/OrganizationCard.js
  2. +1
    -1
      src/pages/authentication/auth-forms/AuthLoginCustom.js

+ 1
- 1
src/pages/OrganizationDetailPage/OrganizationCard.js 查看文件

@@ -33,7 +33,7 @@ const OrganizationCard = ({ userData, loadDataFun, id }) => {
addressLine3: yup.string().max(255, "length must <= 255"),
fax_countryCode: yup.string().min(3, '請輸入國際區號').nullable(),
tel_countryCode: yup.string().min(3, '請輸入國際區號'),
phoneNumber: yup.string().min(8).required('請輸入聯絡電話'),
phoneNumber: yup.string().min(8,'請輸入有效聯絡電話').required('請輸入聯絡電話'),
faxNumber: yup.string().min(8, '請輸入8位數字').nullable(),
brExpiryDate: yup.string().min(8).required('請輸入商業登記證有效日期'),
brNo: yup.string().min(8, '請輸入有效商業登記證號碼').max(8, '請輸入有效商業登記證號碼').required('請輸入商業登記證號碼'),


+ 1
- 1
src/pages/authentication/auth-forms/AuthLoginCustom.js 查看文件

@@ -184,7 +184,7 @@ const AuthLoginCustom = () => {
error={Boolean(formik.touched.username && formik.errors.username)}
onBlur={formik.handleBlur}
inputProps={{
maxLength: 20,
maxLength: 50,
onKeyDown: (e) => {
if (e.key === 'Enter') {
e.preventDefault();


Loading…
取消
儲存