({ name, contextOptions }: { name: string, contextOptions: IContextOptions })
| 34 | |
| 35 | // 根据最新局部作用域,更新配置项 |
| 36 | public updateContribute({ name, contextOptions }: { name: string, contextOptions: IContextOptions }) { |
| 37 | this._updateContexts({ name, contextOptions }); |
| 38 | return this.getContribute(name); |
| 39 | } |
| 40 | |
| 41 | // 更新局部作用域 |
| 42 | private _updateContexts({ name, contextOptions }: { name: string, contextOptions: IContextOptions }) { |
no test coverage detected