瀏覽代碼

fix iAmSmart address concat bug

master
Anna Ho 1 年之前
父節點
當前提交
3e80ee814f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

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

@@ -142,7 +142,7 @@ const CustomFormWizard = (props) => {
const getAddressStr = (strs) => {
let add = ""
strs.forEach(str => {
add += str ? str + ", " : "";
add += str.trim() ? str.trim() + ", " : "";
});
add = add.trim();
if (add.slice(- 1) == ",") {


Loading…
取消
儲存