# getOptionByKey 通过Key获取选项

```javascript
//向动态组件中填充选项
import { getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
console.log(proxy.$util.getOptionByKey(state.baseModelOptions,'station'));
```
