1,在vscode的settings中找到Auto Reveal Exclude,如果发现条目中有node_modules,将其删掉。 2, 在包名上右键,抉择Go to Definition。 3,做你想做的。