Giter VIP home page Giter VIP logo

Comments (7)

zhaomenghuan avatar zhaomenghuan commented on August 29, 2024

可行,正确的做法应该是这样的,点击当前tab应该是不需要进行处理,直接return.

from mui-demo.

lishide avatar lishide commented on August 29, 2024

还有一个问题是多个tab里都有网络请求,它会同时发起请求,能不能切换到相应的tab再请求该页面所需的数据?

from mui-demo.

zhaomenghuan avatar zhaomenghuan commented on August 29, 2024

@lishide 可以看看双首页配置方法,可以很好的解决你说的这个问题。https://segmentfault.com/a/1190000005340854#articleHeader18

from mui-demo.

lishide avatar lishide commented on August 29, 2024

可否分享出一个这种配置方案并且结合Vue实现首页的页面来,应该还有人有此需求,希望能优化一下index.html,谢谢!

from mui-demo.

zhaomenghuan avatar zhaomenghuan commented on August 29, 2024

@lishide 可以看看我这里的一个例子:https://github.com/vue-html5plus/vue-html5plus-template,具体的可以我在这次讲座中有讲到:html5+ App开发工程化实践之路。欢迎参与一下,也算是对鄙人的一种支持吧。

from mui-demo.

lishide avatar lishide commented on August 29, 2024

看了template的例子,试着修改了我的,但是发现第一个tab会加入2次,底下是一个带顶部标题栏的页面,上面又出现一个不带标题的页面,按一次返回键后恢复正常。能帮忙看下问题出在哪了吗?

from mui-demo.

lishide avatar lishide commented on August 29, 2024

已修复,问题出在先在manifest配置了双首页,那种方案没解决,又使用了template例子中的方法,结果manifest的配置没删除。按照您的vue-mui和template例子,配置了兼容手机plus和浏览器环境(Iframe),感谢作者分享。

from mui-demo.

Related Issues (10)

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.