Giter Site home page Giter Site logo

Comments (6)

xu-Aurora avatar xu-Aurora commented on June 2, 2024

main里面,配置Vue.use(VuePageStack, { router, name: 'canteenDetail', keyName: 'stack-key' });是不是表示就路由里面name为canteenDetail页面才会生效,其他页面都不生效?我这个逻辑是通的嘛?

假如是通的话,我这样配置了所有的页面都是不生效的呢

from vue-page-stack.

hezhongfeng avatar hezhongfeng commented on June 2, 2024

不是,所有的页面都会生效。

这俩option在readme有说明,你也可以自己试试

from vue-page-stack.

xu-Aurora avatar xu-Aurora commented on June 2, 2024

不是,所有的页面都会生效。

这俩option在readme有说明,你也可以自己试试

那有办法实现只对某个也买实现缓存,其他页面都不走缓存?

from vue-page-stack.

xu-Aurora avatar xu-Aurora commented on June 2, 2024

今天我又发现了一个bug,使用该组件后,热更新的时候页面会空白,只有点击刷新之后才正常恢复

from vue-page-stack.

hezhongfeng avatar hezhongfeng commented on June 2, 2024

今天我又发现了一个bug,使用该组件后,热更新的时候页面会空白,只有点击刷新之后才正常恢复

这个一直存在

from vue-page-stack.

hezhongfeng avatar hezhongfeng commented on June 2, 2024

不是,所有的页面都会生效。
这俩option在readme有说明,你也可以自己试试

那有办法实现只对某个也买实现缓存,其他页面都不走缓存?

不可以,这个插件的设计初衷是实现移动端页面的缓存逻辑,和Web端不一致,所以没考虑Web的逻辑。

from vue-page-stack.

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.