From e62b4728431001156ba940e16c1a55b1dfe40082 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 9 Aug 2023 14:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AA=20optimize:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ysf-reduce.html | 4 ++-- ysf.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: '',