【发布时间】:2017-05-31 10:31:44
【问题描述】:
是否存在不使用任何第三方的纯 Angular/Typescript 代码库。 FF & IE11 有问题。 Chrome很好,可以读取值,但是使用HTML5输入日期时日历不显示。
【问题讨论】:
标签: html angular typescript
是否存在不使用任何第三方的纯 Angular/Typescript 代码库。 FF & IE11 有问题。 Chrome很好,可以读取值,但是使用HTML5输入日期时日历不显示。
【问题讨论】:
标签: html angular typescript
您需要在 polyfills.ts 中取消注释以下导入,或者您需要导入 shim.js。
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';
【讨论】: