|
@@ -171,13 +171,6 @@ export const crossPage = (function() {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- if (tiemIdIs[name]) {
|
|
|
|
- clearTimeout(tiemIdIs[name])
|
|
|
|
- }
|
|
|
|
- uni.setStorageSync(name, data);
|
|
|
|
- tiemIdIs[name] = setTimeout(function() {
|
|
|
|
- uni.removeStorageSync(name)
|
|
|
|
- }, 350)
|
|
|
|
// #endif
|
|
// #endif
|
|
},
|
|
},
|
|
|
|
|
|
@@ -219,22 +212,5 @@ export const crossPage = (function() {
|
|
},
|
|
},
|
|
// #endif
|
|
// #endif
|
|
};
|
|
};
|
|
-
|
|
|
|
- // #ifdef H5
|
|
|
|
- (function tiemID() {
|
|
|
|
- Object.keys(funs).map(name => {
|
|
|
|
- if (funs[name]) {
|
|
|
|
- var data = uni.getStorageSync(name);
|
|
|
|
- if (data) {
|
|
|
|
- Object.keys(funs[name]).map(key => {
|
|
|
|
- funs[name][key](data)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- setTimeout(tiemID, 200)
|
|
|
|
- })()
|
|
|
|
- // #endif
|
|
|
|
-
|
|
|
|
return funco
|
|
return funco
|
|
-})()
|
|
|
|
|
|
+})()
|