💪 optimize: 优化代码

This commit is contained in:
wangsongsole 2023-08-09 14:17:24 +08:00
parent e9924c13a0
commit e62b472843
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@
ysf: JSON.parse(sessionStorage.getItem('goodsInfo')),
account: null,
confirmAccount: null,
backAble: ~~sessionStorage.getItem('goodsCount') > 0,
backAble: (~~sessionStorage.getItem('goodsCount')) > 1,
promptShow: false,
popShow: false,
popText: '',

View File

@ -108,7 +108,7 @@
ysf: JSON.parse(sessionStorage.getItem('goodsInfo')),
account: null,
confirmAccount: null,
backAble: ~~sessionStorage.getItem('goodsCount') > 0,
backAble: ~~sessionStorage.getItem('goodsCount') > 1,
promptShow: false,
popShow: false,
popText: '',