Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Feb 22, 2020
1 parent 4395d39 commit 76b524e
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 44 deletions.
14 changes: 8 additions & 6 deletions dist/index.common.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
_exports.EXCEL_METHODS_NAME = EXCEL_METHODS_NAME;

(function (EXCEL_METHODS_NAME) {
/* eslint-disable no-unused-vars */
EXCEL_METHODS_NAME["CONTEXT_MENU_CLICK_EVENT"] = "contextMenuClickEvent";
EXCEL_METHODS_NAME["CELL_SPAN_METHOD"] = "cellSpanMethod";
})(EXCEL_METHODS_NAME || (_exports.EXCEL_METHODS_NAME = EXCEL_METHODS_NAME = {}));
Expand Down Expand Up @@ -137,7 +138,7 @@
contextMenu: excelContextMenu,
mouseConfig: {
selected: true,
checked: true
range: true
},
keyboardConfig: {
isArrow: true,
Expand Down Expand Up @@ -358,12 +359,13 @@
var renderMap = {
cell: {
autofocus: 'textarea',
renderEdit: function renderEdit(h, editRender, params, _ref3) {
var $excel = _ref3.$excel;
renderEdit: function renderEdit(h, editRender, params) {
var $table = params.$table,
row = params.row,
column = params.column;
var $excel = $table.$parent;
var excelStore = $excel.excelStore;
var uploadRows = excelStore.uploadRows;
var row = params.row,
column = params.column;
var model = column.model;
return [h('div', {
"class": 'vxe-textarea vxe-excel-cell',
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
.vxe-table.vxe-editable.vxe-excel .vxe-header--column {
padding: 4px 0;
font-size: 12px;
-webkit-transition: none;
transition: none;
cursor: default; }

.vxe-table.vxe-editable.vxe-excel .vxe-body--column {
padding: 0;
-webkit-transition: none;
transition: none;
height: auto;
line-height: 24px;
Expand Down
2 changes: 1 addition & 1 deletion dist/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 76b524e

Please sign in to comment.