Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(bug): bug
Browse files Browse the repository at this point in the history
bug
  • Loading branch information
wpxp123456 committed Sep 21, 2020
1 parent 27d1be0 commit ad1ac61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/controllers/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1253,9 +1253,6 @@ function initialFilterHandler(){
$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val();
$("#luckysheet-filter-selected span").data("type", "0").data("type", null).text(locale_filter.conditionNone);

$('#luckysheet-filter-selected-sheet' + Store.currentSheetIndex + ', #luckysheet-filter-options-sheet' + Store.currentSheetIndex).remove();
$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();

let redo = {};
redo["type"] = "datachangeAll_filter_clear";
redo["sheetIndex"] = Store.currentSheetIndex;
Expand Down Expand Up @@ -1290,6 +1287,9 @@ function initialFilterHandler(){
Store.jfundo = [];
Store.jfredo.push(redo);

$('#luckysheet-filter-selected-sheet' + Store.currentSheetIndex + ', #luckysheet-filter-options-sheet' + Store.currentSheetIndex).remove();
$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();

//清除筛选发送给后台
Store.luckysheetfile[getSheetIndex(Store.currentSheetIndex)].filter = null;
Store.luckysheetfile[getSheetIndex(Store.currentSheetIndex)].filter_select = null;
Expand Down
5 changes: 3 additions & 2 deletions src/global/formula.js
Original file line number Diff line number Diff line change
Expand Up @@ -3171,13 +3171,14 @@ const luckysheetformula = {
if(kcode != 46){//delete不执行此函数
_this.createRangeHightlight();
}

$functionbox.html(value);
}

_this.rangestart = false;
_this.rangedrag_column_start = false;
_this.rangedrag_row_start = false;

$functionbox.html(value);

_this.rangeHightlightselected($editer, kcode);
}, 1);
},
Expand Down

0 comments on commit ad1ac61

Please sign in to comment.