Skip to content

Commit b3b1c5b

Browse files
author
zhanq
committed
更新注释说明
1 parent c194210 commit b3b1c5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ export default class JVerification {
211211
*
212212
* var customViewParams = {
213213
* 'customViewName':String, //在index.js中注册的component
214-
* 'customViewPoint':StringArray //[int,int] 基于屏幕左上角的x,y坐标点
214+
* 'customViewPoint':StringArray //[int,int,int,int] 基于屏幕左上角的x,y,w,h
215215
* }
216216
*
217217
* 关于图片资源,Android请将图片放到res/drawable目录下,iOS请将图片放到JVerificationResour.bundle
218218
* 关于颜色,为colorInt,可在Android代码中直观的看到数值,例如Color.BLACK = -16777216,Color.WHITE = -1
219-
* 关于x,y,w,h,为保障显示效果,请同时设置。数值为
219+
* 关于x,y,w,h,为保障显示效果,请同时设置。
220220
*/
221221
static addLoginCustomConfig(customConfigParams, customViewParams) {
222222
if (Platform.OS == 'android') {

0 commit comments

Comments
 (0)