上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页
摘要: 1、权限列表(定义为枚举) 2、叶子功能节点 叶子节点 具有哪些权限?每个权限挂载几个按钮 预先在配置文件中设置好 3、授权 授予某个角色对某个codepath某个权限 UI设计 角色列表 功能节点树 权限 表:角色代码、codepath、权限代码 4、权限检查 只要节点的codepath,出现在当 阅读全文
posted @ 2018-10-18 12:36 FromScratch 阅读(226) 评论(0) 推荐(0) 编辑
摘要: /** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
posted @ 2018-10-07 16:23 FromScratch 阅读(176) 评论(0) 推荐(0) 编辑
摘要: /** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
posted @ 2018-10-07 16:21 FromScratch 阅读(381) 评论(0) 推荐(0) 编辑
摘要: /** * Copyright 2017 Google Inc., PhantomJS Authors All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may 阅读全文
posted @ 2018-10-07 16:18 FromScratch 阅读(2520) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/dolphinX/p/7715268.html 好文/** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 阅读全文
posted @ 2018-10-07 16:11 FromScratch 阅读(361) 评论(0) 推荐(0) 编辑
摘要: /** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
posted @ 2018-10-07 12:22 FromScratch 阅读(3402) 评论(0) 推荐(0) 编辑
摘要: Default runtime settings 1. Uses Headless mode Puppeteer launches Chromium in headless mode. To launch a full version of Chromium, set the 'headless' 阅读全文
posted @ 2018-10-06 16:57 FromScratch 阅读(428) 评论(0) 推荐(0) 编辑
摘要: page.exposeFunction(name, puppeteerFunction) name <string> Name of the function on the window object puppeteerFunction <function> Callback function wh 阅读全文
posted @ 2018-10-06 16:47 FromScratch 阅读(219) 评论(0) 推荐(0) 编辑
摘要: page.evaluateOnNewDocument(pageFunction, ...args) pageFunction <function|string> Function to be evaluated in browser context ...args <...Serializable> 阅读全文
posted @ 2018-10-06 16:45 FromScratch 阅读(255) 评论(0) 推荐(0) 编辑
摘要: A string can also be passed in instead of a function: const aHandle = await page.evaluateHandle('document'); // Handle for the 'document' JSHandle ins 阅读全文
posted @ 2018-10-06 16:42 FromScratch 阅读(1372) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页