perye/dokit

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

LvXinPeng opened this issue · 4 comments

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

perye commented

可参照druid和swagger

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

可参照druid和swagger

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

可参照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>

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