提交 5d6f771b 编写于 作者: Q qiang

chore: build

上级 3c1edb45
...@@ -11447,9 +11447,9 @@ var serviceContext = (function () { ...@@ -11447,9 +11447,9 @@ var serviceContext = (function () {
}); });
try { try {
if (type === 'string' && parseValue(value) !== undefined) { if (type === 'string' && parseValue(value) !== undefined) {
plus.storage.setItemAsync(key + STORAGE_DATA_TYPE, type); plus.storage.setItemAsync(key + STORAGE_DATA_TYPE, type, () => {});
} else { } else {
plus.storage.removeItemAsync(key + STORAGE_DATA_TYPE); plus.storage.removeItemAsync(key + STORAGE_DATA_TYPE, () => {});
} }
plus.storage.setItemAsync(key, value, function () { plus.storage.setItemAsync(key, value, function () {
invoke$1(callbackId, { invoke$1(callbackId, {
...@@ -11552,7 +11552,7 @@ var serviceContext = (function () { ...@@ -11552,7 +11552,7 @@ var serviceContext = (function () {
key key
} = {}, callbackId) { } = {}, callbackId) {
// 兼容App端历史格式 // 兼容App端历史格式
plus.storage.removeItemAsync(key + STORAGE_DATA_TYPE); plus.storage.removeItemAsync(key + STORAGE_DATA_TYPE, () => {});
plus.storage.removeItemAsync(key, function (res) { plus.storage.removeItemAsync(key, function (res) {
invoke$1(callbackId, { invoke$1(callbackId, {
errMsg: 'removeStorage:ok' errMsg: 'removeStorage:ok'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册