Comments (7)
@Realgomu 你是苹果?
这个是坑爹的ios 9 bug
from mmrouter.
mmHistory
if (hash) {
setTimeout(function() { // TODO: rm the timeout when ios9 fix its location-hash-delay bug
event.preventDefault()
avalon.router && avalon.router.navigate(hash)
}, 60);
}
// if (hash) {
// event.preventDefault()
// avalon.router && avalon.router.navigate(hash)
// }
from mmrouter.
不是仅仅ios9出现的话就不是这个问题,另找吧。。。
from mmrouter.
@gogoyqj 把history里的这段代码替换成你给的就正常了,谢谢!
from mmrouter.
@Realgomu 我反复验证之后发现,问题是处在mmHistory.js,而且是你的版本问题,请更新avalon.oniui mmrouter里面的mmHistory最新版本,这个问题就fix了,而不用像上面那么修改
from mmrouter.
gogoyqj 同步一下吧
from mmrouter.
mmHistory文件版本问题,使用oniui中的文件已正常
from mmrouter.
Related Issues (20)
- avalon2好像取消了require那mmrouter要引用require.js库吗?
- 提交8c0932怎么把mmPromise.js给删除了
- 求mmRouter配合ms-include-src的教程
- avalon2 mmrouter如果页面存在iframe而且使用ms-attr="{src:@currPath}" 设置,点击浏览器前进后退事件BUG HOT 3
- avalon2 路由如何实现加载html时同时加载该html相应的js文件? HOT 1
- avalon2不能使用mmState? HOT 3
- mmRouter由子状态app.domain.edit返回上一状态时未触发$onEnter函数
- mmHistory.start 设置root为根路径时有有问题 HOT 1
- iframepool模式的bug HOT 1
- hasAttribute在低版本ie下报错 HOT 2
- 不明白mmState和mmRouter的关系。 HOT 2
- 按需加载路由怎么实现
- #!可以更改吗? HOT 1
- avalon.router.navigate(hash, mode) 方法可以不执行回调吗? HOT 2
- webpack2 打包在ie8下有很多兼容性问题,我看这个案例是用webpack 1 打包的,想问下有什么好的办法吗 HOT 2
- mmrouter 回调在ie7死循环
- 怎么设置其他情况都跳转到某一个url呢?
- 更新后的mmRouter链接不可用 HOT 1
- 【Help】用户F5强制刷新页面,在ready回调中执行此方法,这个ready如何操作? HOT 1
- mmrouter怎么带参数跳转
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmrouter.