* 增加任务说明的接口。 * @param {String} name QMUI 工作流中任务的名字。 * @param {String} description 任务的简短介绍。 * @param {Object} options 任务的参数。 * @returns {undefined}
(name, description, options)
| 67 | * @returns {undefined} |
| 68 | */ |
| 69 | addTaskDescription(name, description, options) { |
| 70 | this.tasks[name] = { |
| 71 | description: description, |
| 72 | options: options |
| 73 | }; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * 获取所有任务。 |
no outgoing calls
no test coverage detected