浏览代码

something not important

zhuth 6 年之前
父节点
当前提交
7ee6640dea
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      frontend/saas-web/app/view/core/tab/Controller.js
  2. 0 1
      frontend/saas-web/app/view/home/InfoCard.js

+ 1 - 1
frontend/saas-web/app/view/core/tab/Controller.js

@@ -33,7 +33,7 @@ Ext.define('saas.view.core.tab.Controller', {
         if(!component.resetCloseClick) {
         if(!component.resetCloseClick) {
             component.tab.onCloseClick = function() {
             component.tab.onCloseClick = function() {
                 var me = this,
                 var me = this,
-                tabView = component.down('panel');
+                tabView = component.down('container');
          
          
                 if (me.fireEvent('beforeclose', me) !== false) {
                 if (me.fireEvent('beforeclose', me) !== false) {
                     if (me.tabBar) {
                     if (me.tabBar) {

+ 0 - 1
frontend/saas-web/app/view/home/InfoCard.js

@@ -107,7 +107,6 @@ Ext.define('saas.view.home.InfoCard', {
         p = me.up('home'),
         p = me.up('home'),
         cards = me.cards,
         cards = me.cards,
         datas = [],
         datas = [],
-        items = [];
         size = Math.ceil(me.body.el.getBox().width / 230);
         size = Math.ceil(me.body.el.getBox().width / 230);
 
 
         me.removeAll();
         me.removeAll();