摘要:
1、权限列表(定义为枚举) 2、叶子功能节点 叶子节点 具有哪些权限?每个权限挂载几个按钮 预先在配置文件中设置好 3、授权 授予某个角色对某个codepath某个权限 UI设计 角色列表 功能节点树 权限 表:角色代码、codepath、权限代码 4、权限检查 只要节点的codepath,出现在当 阅读全文
摘要:
/** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
摘要:
/** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
摘要:
/** * Copyright 2017 Google Inc., PhantomJS Authors All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may 阅读全文
摘要:
http://www.cnblogs.com/dolphinX/p/7715268.html 好文/** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 阅读全文
摘要:
/** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file 阅读全文
摘要:
Default runtime settings 1. Uses Headless mode Puppeteer launches Chromium in headless mode. To launch a full version of Chromium, set the 'headless' 阅读全文
摘要:
page.exposeFunction(name, puppeteerFunction) name <string> Name of the function on the window object puppeteerFunction <function> Callback function wh 阅读全文
摘要:
page.evaluateOnNewDocument(pageFunction, ...args) pageFunction <function|string> Function to be evaluated in browser context ...args <...Serializable> 阅读全文
摘要:
A string can also be passed in instead of a function: const aHandle = await page.evaluateHandle('document'); // Handle for the 'document' JSHandle ins 阅读全文