|
@@ -109,7 +109,10 @@ function isDecryptionEnabled() {
|
|
|
function isOrderItemGrabEnabled() {
|
|
function isOrderItemGrabEnabled() {
|
|
|
let isLocked = magicJS.data.read(HbcpreConstKey.orderItemWatchLocked, null);
|
|
let isLocked = magicJS.data.read(HbcpreConstKey.orderItemWatchLocked, null);
|
|
|
if(isLocked){
|
|
if(isLocked){
|
|
|
- return true;
|
|
|
|
|
|
|
+ isLocked = JSON.parse(isLocked);
|
|
|
|
|
+ }
|
|
|
|
|
+ if(isLocked){
|
|
|
|
|
+ return false;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
let flag = magicJS.data.read(HbcpreConstKey.orderItemDataGrabEnabled, null);
|
|
let flag = magicJS.data.read(HbcpreConstKey.orderItemDataGrabEnabled, null);
|