Giter Club home page Giter Club logo

Comments (3)

bhuh12 avatar bhuh12 commented on May 26, 2024

没有页签的情况下,默认显示什么内容呢?
能否把默认显示的内容作为独立的页签,我觉得这样风格也统一一些吧。
不然你还得想办法在关闭最后一个页签的时候显示默认的页签,这个你有好的方案实现吗?

from vue-router-tab.

jackcailj avatar jackcailj commented on May 26, 2024

默认的规则还保留,多出一个配置吧,更灵活,
我想可以定义一个空页面的slot,由使用者来自定义,或者页面为空时给出一个事件,由调用者决定显示内容
我现在的需求是允许全部关闭,全部关闭时会显示一个自定义的引导页。

from vue-router-tab.

bhuh12 avatar bhuh12 commented on May 26, 2024
  1. 配置 keep-last-tabfalse 来关闭最后一个页签(参考
  2. 配置 default-page 来配置关闭所有页签后跳转的默认页(参考

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.