Archived
test
This commit is contained in:
1 parent
d6e186a7ed
commit
3168c4ac01
2 files changed
+13
-9
No files matched your search
@@ -1,6 +1,10 @@
|
||||
export default {
|
||||
async importLocalStoreCode() {
|
||||
await storeValue("imported_code", "TEST123", true);
|
||||
return "TEST123";
|
||||
async listStorageKeys() {
|
||||
const keys = [];
|
||||
for (let i = 0; i < window.localStorage.length; i++) {
|
||||
keys.push(window.localStorage.key(i));
|
||||
}
|
||||
await storeValue("storage_keys", keys, true);
|
||||
return keys;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user