头条平台添加缺失的几个有关本地存储的方法

This commit is contained in:
zhl 2020-02-14 13:04:24 +08:00
parent 600fc0c0dc
commit a25d66f9d4
2 changed files with 829 additions and 241 deletions

File diff suppressed because it is too large Load Diff

View File

@ -804,6 +804,18 @@ var PLAT_TT = {
next: 1
});
}
},
setLocalStorage(key, value) {
tt.setStorageSync(key, value);
},
getLocalStorage(key) {
return tt.getStorageSync(key);
},
removeStorage(key) {
tt.removeStorageSync(key);
}
};