|
@@ -31,25 +31,25 @@ function deviceParkIn(content){
|
|
|
if(content.speakMsg){
|
|
|
speaker.speakAction(content.speakMsg)
|
|
|
}
|
|
|
- const value = uni.getStorageSync('pushModel_switch');
|
|
|
- if (value) {
|
|
|
- return;
|
|
|
- }
|
|
|
- uni.setStorageSync('pushModel_switch', '1');
|
|
|
- uni.showModal({
|
|
|
- title: '温馨提示',
|
|
|
- content: content.popNode,
|
|
|
- success: (res) => {
|
|
|
- if(res.confirm){
|
|
|
- uni.navigateTo({
|
|
|
- url: content.jumpTo
|
|
|
- });
|
|
|
- }
|
|
|
- } ,
|
|
|
- complete:()=>{
|
|
|
- uni.removeStorageSync('pushModel_switch');
|
|
|
- }
|
|
|
- });
|
|
|
+ // const value = uni.getStorageSync('pushModel_switch');
|
|
|
+ // if (value) {
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // uni.setStorageSync('pushModel_switch', '1');
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '温馨提示',
|
|
|
+ // content: content.popNode,
|
|
|
+ // success: (res) => {
|
|
|
+ // if(res.confirm){
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: content.jumpTo
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // } ,
|
|
|
+ // complete:()=>{
|
|
|
+ // uni.removeStorageSync('pushModel_switch');
|
|
|
+ // }
|
|
|
+ // });
|
|
|
}
|
|
|
|
|
|
function deviceParkOut(content){
|