Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue组件的名称解析有误 #1

Open
yangcan1930 opened this issue Aug 27, 2018 · 1 comment
Open

vue组件的名称解析有误 #1

yangcan1930 opened this issue Aug 27, 2018 · 1 comment

Comments

@yangcan1930
Copy link

// props: {}, object
if (item.value.type == 'ObjectExpression') {
item.value.properties.forEach(prop => {
// test: Type
if (prop.value.type == 'Identifier') {
props.push({
name: prop.key.name, // prop.key.name为undefined,改为prop.key.value即可
type: prop.value.name
});
}

@ccqgithub
Copy link
Owner

ccqgithub commented Aug 27, 2018

这个是旧版的,你可以用这个 https://github.com/ccqgithub/jsdoc-vuedoc 试试?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants