...
|
...
|
@@ -27,9 +27,9 @@ const getClientData = (type, encryptedUid, imgSize) => { |
|
|
|
|
|
return Promise.all(apiMethod)
|
|
|
.then(res => {
|
|
|
let history = res[1].data;
|
|
|
let hasHistory = history && history.length > 0 || false;
|
|
|
let csSetting = res[0].data && res[0].data.config;
|
|
|
let records = res[1].data && res[1].data.records || [];
|
|
|
let hasHistory = records.length > 0 || false;
|
|
|
|
|
|
csSetting.windowLogo = csSetting.windowLogo.replace(regExp, logoSize);
|
|
|
csSetting.qrCode = csSetting.qrCode.replace(regExp, qcSize);
|
...
|
...
|
|