|
@@ -232,13 +232,11 @@ export const crossPage = (function() {
|
|
|
if (res.miniprogram) {
|
|
|
(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)
|
|
|
- })
|
|
|
- }
|
|
|
+ var data = uni.getStorageSync(name);
|
|
|
+ if (data) {
|
|
|
+ Object.keys(funs[name]).map(key => {
|
|
|
+ funs[name][key](data)
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
setTimeout(tiemID, 200)
|