1、打开一个WebStorm界面中

2、点击左上角中的file菜单

3、弹出了下拉菜单选择为settings选项

4、点击左侧中的auto imports选项

5、进入到了auto imports的界面中,去掉unambiguous imports on the fly选项

6、去掉unambiguous imports on the fly选项之后,点击ok按钮

时间:2026-02-15 00:34:47
1、打开一个WebStorm界面中

2、点击左上角中的file菜单

3、弹出了下拉菜单选择为settings选项

4、点击左侧中的auto imports选项

5、进入到了auto imports的界面中,去掉unambiguous imports on the fly选项

6、去掉unambiguous imports on the fly选项之后,点击ok按钮
