UNPKG

cmps

Version:

cmps is not only a server tool but also a powerful tool to design & make your component/UI quickly and best.

28 lines (27 loc) 551 B
/** * Test the component API. expReturn is the function return * *example: * { * "data": { * "index": 14, * "total": 15 * }, * "api": "api name", * "params": [1], * "expReturn": "wqeqw", * "expPro": { * "index": 13, * "total": 15, * "from": 10, * "to": 14 * }, * "expCpt": { * "hasPrev": true, * "hasNext": true, * "hasLeftSep": true * } * } */ NEJ.define([], function () { return []; });