💪 optimize: 优化代码
This commit is contained in:
parent
e9924c13a0
commit
e62b472843
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue