头条平台添加缺失的几个有关本地存储的方法
This commit is contained in:
parent
600fc0c0dc
commit
a25d66f9d4
File diff suppressed because it is too large
Load Diff
@ -804,6 +804,18 @@ var PLAT_TT = {
|
|||||||
next: 1
|
next: 1
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
setLocalStorage(key, value) {
|
||||||
|
tt.setStorageSync(key, value);
|
||||||
|
},
|
||||||
|
|
||||||
|
getLocalStorage(key) {
|
||||||
|
return tt.getStorageSync(key);
|
||||||
|
},
|
||||||
|
|
||||||
|
removeStorage(key) {
|
||||||
|
tt.removeStorageSync(key);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user