Skip to content

Commit 345c16b

Browse files
committed
引号错误
1 parent e7577ab commit 345c16b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ZQuanProject/class/Plugins/GetPreferencePlugin.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ -(void)initMessageJson:(NSDictionary *)message
2626
NSString *jsStr;
2727
if(IsEmptyStr(value)){
2828
value = @"";
29-
jsStr = [NSString stringWithFormat:@"javascript: ZhuanQuanJSBridge._invokeJS(\"%@\",@\"\");",clientId];
29+
jsStr = [NSString stringWithFormat:@"javascript: ZhuanQuanJSBridge._invokeJS(\"%@\",\"\");",clientId];
3030
}else{
3131

32-
jsStr = [NSString stringWithFormat:@"javascript: ZhuanQuanJSBridge._invokeJS(\"%@\",%@);",clientId,value];
32+
jsStr = [NSString stringWithFormat:@"javascript: ZhuanQuanJSBridge._invokeJS(\"%@\",'%@');",clientId,value];
3333
}
3434
[self.web stringByEvaluatingJavaScriptFromString:jsStr];
3535
}

ZQuanProject/h5.zip

-8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)