diff --git a/ysf-reduce.html b/ysf-reduce.html index 8edf091..0dd9e66 100644 --- a/ysf-reduce.html +++ b/ysf-reduce.html @@ -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: '', @@ -126,7 +126,7 @@ }, mounted () { - document.title =localStorage.getItem('title'); + document.title = localStorage.getItem('title'); /* 判断是否是微信小程序内 */ let ua = window.navigator.userAgent.toLowerCase(); this.isMini = /miniProgram/i.test(ua); diff --git a/ysf.html b/ysf.html index cb9d516..337dcac 100644 --- a/ysf.html +++ b/ysf.html @@ -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: '',