Javascript 在我的应用程序中,spinner在IE10和IE11中不起作用。在这方面,它工作得很好

Javascript 在我的应用程序中,spinner在IE10和IE11中不起作用。在这方面,它工作得很好,javascript,jquery,Javascript,Jquery,Js文件: define(function (require) { 'use strict'; require('widgets-path/abstract/abstractClearablePresenter'); var view = require('widgets-path/abstract/abstractView'); var spinnerTemplate = require('hbs!widgets-path/loading/templates/s

Js文件:

define(function (require) {
    'use strict';
    require('widgets-path/abstract/abstractClearablePresenter');
    var view = require('widgets-path/abstract/abstractView');
    var spinnerTemplate = require('hbs!widgets-path/loading/templates/spinner');

    $.widget('els.loading', $.els.abstractClearablePresenter, {
        _create: function () {
            this.element = $('#loadingWidget');
            this.element.html(spinnerTemplate());
            this._super(view, {});

            this._subscribeOnEvent('allWidgetsLoaded', this._afterLoaded);
            this._subscribeOnEvent('showLoading', this._showSpinner);
            this._subscribeOnEvent('hideLoading', this._hideSpinner);
        },

        _afterLoaded: function () {
            this.element.addClass('afterLoaded');
        },

        _showSpinner: function () {
            this.element.show();
        },

        _hideSpinner: function () {
            this._view.hide();
        }
    });
    return $.els.loading();
});
嗨,团队

我的申请中有一个问题, 脚本: 当您的页面加载时,旋转器gif将出现,直到页面加载,在chrome中,其工作正常。但在IE10和IE11中,它不起作用

他们称hbs和js

<!--[if lte IE 9]>
<img src="./common/img/loading.gif"/>
<![endif]-->
<!--[if (!IE)|(gte IE 10)]>-->

<!--<![endif]-->


你能提供你的html页面吗?你能提供你的html页面吗