mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
app 弹框协议等
This commit is contained in:
@@ -18,7 +18,16 @@ export default {
|
||||
getHotWords() {
|
||||
return uni.getStorageSync(`hotWords`);
|
||||
},
|
||||
|
||||
//写入 展示还是不展示
|
||||
setShow(val) {
|
||||
uni.setStorageSync("show", val);
|
||||
},
|
||||
getShow() {
|
||||
if (uni.getStorageSync(`show`) === "" || uni.getStorageSync(`show`) === undefined) {
|
||||
return true;
|
||||
}
|
||||
return uni.getStorageSync(`show`);
|
||||
},
|
||||
// 获取face id登录
|
||||
getFaceLogin() {
|
||||
return uni.getStorageSync(FACE_LOGIN);
|
||||
|
||||
Reference in New Issue
Block a user