mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 23:10:18 +08:00
refactor(projects): 代码优化
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
/** 执行策略模式 */
|
||||
/**
|
||||
* 策略模式
|
||||
* @param actions 每一种可能执行的操作
|
||||
*/
|
||||
export function exeStrategyActions(actions: Common.StrategyAction[]) {
|
||||
actions.some(item => {
|
||||
const [flag, action] = item;
|
||||
|
||||
Reference in New Issue
Block a user