web/bundles/topxiaadmin/js/controller/importer/view/step2-success.js

(开头部分) 925B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

define(function (require, exports, module) {
    var Backbone = require('backbone');
    var _ = require('underscore');
    var ProgressView = require('./progress');
    module.exports = Backbone.View.extend({
        template: _.template(require('./../template/success.html')),


        events: {
            "click #start-import-btn": "onStartImport",
        },

        initialize: function () {
            this.$el.html(this.template(this.model.toJSON()));
        },

        onStartImport: function (event) {
            var self = this;
            this.progress = new ProgressView({
                model: this.model
            });

            var $modal = $('#modal');
            $modal.html(this.progress.el);
            $modal.modal({
                show: true,
                backdrop: 'static',
                keyboard: false
            });
            self.model.chunkImport();
        }
    });
});

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。