Lint fixes

pull/426/head
cagataycivici 2020-08-04 15:58:15 +03:00
parent f4994764fb
commit 1e81630ee3
4 changed files with 7 additions and 7 deletions

View File

@ -960,7 +960,7 @@ export default {
let column = this.columns[i]; let column = this.columns[i];
if (column.exportable !== false && column.field) { if (column.exportable !== false && column.field) {
let cellData = ObjectUtils.resolveFieldData(record, column.field); let cellData = ObjectUtils.resolveFieldData(record, column.field);
if (cellData != null) { if (cellData != null) {
if (this.exportFunction) { if (this.exportFunction) {
cellData = this.exportFunction({ cellData = this.exportFunction({
@ -973,10 +973,10 @@ export default {
} }
else else
cellData = ''; cellData = '';
csv += '"' + cellData + '"'; csv += '"' + cellData + '"';
if (i < (this.columns.length - 1)) { if (i < (this.columns.length - 1)) {
csv += this.csvSeparator; csv += this.csvSeparator;
} }

View File

@ -81,7 +81,7 @@ export default {
let tabHeader = this.$refs.nav.children[activeTabIndex]; let tabHeader = this.$refs.nav.children[activeTabIndex];
this.$refs.inkbar.style.width = DomHandler.getWidth(tabHeader) + 'px'; this.$refs.inkbar.style.width = DomHandler.getWidth(tabHeader) + 'px';
this.$refs.inkbar.style.left = DomHandler.getOffset(tabHeader).left - DomHandler.getOffset(this.$refs.nav).left + 'px'; this.$refs.inkbar.style.left = DomHandler.getOffset(tabHeader).left - DomHandler.getOffset(this.$refs.nav).left + 'px';
} }
else { else {
this.$refs.inkbar.style.width = '0px'; this.$refs.inkbar.style.width = '0px';
this.$refs.inkbar.style.left = '0px'; this.$refs.inkbar.style.left = '0px';

View File

@ -194,7 +194,7 @@ export default class DomHandler {
if (top < 0) { if (top < 0) {
top = windowScrollTop; top = windowScrollTop;
} }
} }
else { else {
top = targetOuterHeight + targetOffset.top + windowScrollTop; top = targetOuterHeight + targetOffset.top + windowScrollTop;
element.style.transformOrigin = 'top'; element.style.transformOrigin = 'top';

View File

@ -70,7 +70,7 @@
<div class="card"> <div class="card">
<h5>Checkbox</h5> <h5>Checkbox</h5>
<DataTable :value="products" :selection.sync="selectedProducts3" dataKey="id"> <DataTable :value="products" :selection.sync="selectedProducts3" dataKey="id">
<Column selectionMode="multiple" headerStyle="width: 3em"></Column> <Column selectionMode="multiple" headerStyle="width: 3em"></Column>
<Column field="code" header="Code"></Column> <Column field="code" header="Code"></Column>