Coder Social home page Coder Social logo

Comments (3)

bhuh12 avatar bhuh12 commented on June 3, 2024

需要将共用页签的路由,meta 配置 alive-id 函数,返回相同的字符串。

请参考:
https://bhuh12.github.io/vue-router-tab/guide/essentials/rule.html#路由页签规则

暂未支持嵌套路由,使用的话应该会有其他问题。后续会作为需求修复。

from vue-router-tab.

jackcailj avatar jackcailj commented on June 3, 2024

有同样的问题,希望能尽快更新下,在页签代码中使用routerview,会新打开一个页签,使用alive-id函数方法,会刷新页面

from vue-router-tab.

bhuh12 avatar bhuh12 commented on June 3, 2024

Vue Router Tab v0.2.0 已添加嵌套路由页面支持。
请移除嵌套路由配置的 aliveId 方法,使用内置的规则即可

Demo: https://bhuh12.github.io/vue-router-tab/demo/#/default/nest/1/page1

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.