Giter Site home page Giter Site logo

Comments (2)

SilurianYang avatar SilurianYang commented on July 17, 2024

大佬,您好,我自己简单测试了一下,uni-app使用vue-mixin时貌似只支持vue原生生命周期以及相对应的页面生命周期,如onshow;所以在应用启动时,你混入的onLaunch及onLoad生命周期并没有触发,这样就导致无法拦截通过子页面路由地址进入页面的情况

因为onLaunch及onLoad都是为了让应用首次启动时触发钩子。你所谓的进入页面就无法触发 这个是设计范围内的,下版本我会加上一个模式切换来让用户自由选择

from uni-simple-router.

canmick avatar canmick commented on July 17, 2024

更新 hBuilder X 至最新版本,问题已解决,感谢大佬

from uni-simple-router.

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.