🦀️ fix: 修复bug
This commit is contained in:
parent
c33027d392
commit
ef9c8bf47a
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
if (res.code == 200) {
|
||||
const { product_name, status, show_url, card_number, card_password, use_coupon, product, mask_card_password } = res.data;
|
||||
card_look_pwd.value = mask_card_password.length > 16 ? mask_card_password.substring(0, 16) : mask_card_password;
|
||||
card_look_pwd.value = mask_card_password && mask_card_password.length > 16 ? mask_card_password.substring(0, 16) : mask_card_password;
|
||||
goods.value = { product_name, time: res.data.goods.end_time, status, show_url, card_number, card_password, card_show: res.data.goods.card_show, use_coupon, detail_url: product.detail_url };
|
||||
// 领取成功结算 5
|
||||
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5 && status === 2) {
|
||||
|
@ -154,9 +154,9 @@
|
|||
}
|
||||
|
||||
if (type === 1 && sessionStorage.getItem('orderNumber')) {
|
||||
let key = sessionStorage.getItem('orderNumber')
|
||||
let key = sessionStorage.getItem('orderNumber');
|
||||
key = key.substring(0, 16);
|
||||
new_number = decrypt(number, key)
|
||||
new_number = decrypt(number, key);
|
||||
card_look_pwd.value = new_number;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue