Coder Social home page Coder Social logo

加载iframe存在bug about vue-router-tab HOT 1 CLOSED

bhuh12 avatar bhuh12 commented on June 14, 2024
加载iframe存在bug

from vue-router-tab.

Comments (1)

bhuh12 avatar bhuh12 commented on June 14, 2024

多谢反馈!

router-tab 还没有针对嵌套路由的情况进行处理。目前是粗暴的认为访问的倒数第二级路由为根路径 basePath ,即 router-tab 组件所在的那层。然后在子层添加 iframe 页面的路由。这个设定在嵌套路由的情况下是错误的。

this.basePath = (matched[matched.length - 2] || {}).path

针对 Vue Router 嵌套路由的支持,可能还需要一段时间。您可以先参照以下链接的内容自行构建开发版本地修改来绕过问题。

https://bhuh12.github.io/vue-router-tab/guide/installation.html#%E6%9E%84%E5%BB%BA%E5%BC%80%E5%8F%91%E7%89%88

同时,也欢迎继续提 Issues 告诉我您遇到的其它问题。

跟您之前反馈的是同一问题,先关闭这个。作为需求后续修复。

from vue-router-tab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.