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

点击新增外链菜单怎么不跳出当前页面? #5

Closed
LvXinPeng opened this issue Feb 2, 2020 · 4 comments
Closed

点击新增外链菜单怎么不跳出当前页面? #5

LvXinPeng opened this issue Feb 2, 2020 · 4 comments

Comments

@LvXinPeng
Copy link

点击新增外链菜单怎么不跳出当前页面?~ 只在当前页面的右侧展示呢?这个怎么改呢?谢谢~

@perye
Copy link
Owner

perye commented Feb 2, 2020

可参照druid和swagger

@perye perye closed this as completed Feb 2, 2020
@LvXinPeng
Copy link
Author

方便说的具体要修改哪一块的代码吗?谢谢

@LvXinPeng
Copy link
Author

可参照druid和swagger

方便说的具体下 要修改哪一块的代码吗?拜托了~

@LvXinPeng
Copy link
Author

可参照druid和swagger

<script> import { isExternal } from '@/utils/validate' export default { props: { to: { type: String, required: true } }, methods: { linkProps(url) { if (isExternal(url)) { return { is: 'a', href: url, target: '_self', rel: 'noopener' } } return { is: 'router-link', to: url } } } } </script>

是这块吧?应该怎么改呢?

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