2.4.2
https://github.com/ly2011/vue2-elm
$ npm run dev
Compatible with IE9
.
No error in IE9
.
IE9
only under the error.
The function and location of the error:
function getTransitionInfo (el, expectedType) {
var styles = window.getComputedStyle(el);
var transitionDelays = styles[transitionProp 'Delay'].split(', '); // 这里报错了
var transitionDurations = styles[transitionProp 'Duration'].split(', ');
var transitionTimeout = getTimeout(transitionDelays, transitionDurations);
var animationDelays = styles[animationProp 'Delay'].split(', ');
var animationDurations = styles[animationProp 'Duration'].split(', ');
var animationTimeout = getTimeout(animationDelays, animationDurations);
}
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.
BTW, when reporting a bug (or asking for help), providing the strict minimal will augment your chances of getting help 😉
你好,请问问题解决了吗?
我也遇到相同的问题,重置ie9的设置就解决了,但是不知道根本的原因是什么。。。
另外我发现,只要加了 transition 这个标签,就会出现这个错误。
重现应当尽量精简
有些用户会直接给我们一整个项目的代码,然后希望我们帮忙找出问题所在。此类请求我们通常不予接受,因为:
你对你的项目的代码结构可能已经非常熟悉,但我们并不是。阅读、运行、分析一个完全陌生的项目是极其耗费时间和精力的。
由于涉及了大量业务代码,问题可能是你的代码错误,而不是 Vue 的 bug 所导致的。
一个最小化的重现意味着它精确地定位了 bug 本身 - 它应当只包含能够触发 bug 的最少量的代码。你应当尽可能地剔除任何跟该 bug 无关的部分。
我也遇到同样的问题 你解决了吗
这个原因使jsdom对transition不支持,https://github.com/eddyerburgh/avoriaz/issues/77
Most helpful comment