How to add @param annotation to js function

First, there must be a function, as follows:

export const userMobileLoginMsg = (mobile) => {
  return request('/login/code', 'get', { mobile })
}

Then hit /** above the function that needs to be commented and press Enter to automatically generate

 

Guess you like

Origin blog.csdn.net/melissaomy/article/details/128592174