Skip to content

Commit 703e16c

Browse files
Fix: Vue lint issues
1 parent 4ffa3ae commit 703e16c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Vue/src/assets/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
color: #2c3e50;
66
margin: 50px;
77
width: 90vh;
8-
}
8+
}

Vue/src/components/HomeContent.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
<script setup lang="ts">
22
import 'devextreme/dist/css/dx.material.blue.light.compact.css';
3-
import { DxDataGrid, DxColumn, DxEditing, DxLookup } from 'devextreme-vue/data-grid';
3+
import {
4+
DxDataGrid,
5+
DxColumn,
6+
DxEditing,
7+
DxLookup,
8+
} from 'devextreme-vue/data-grid';
49
import type { DxDataGridTypes } from 'devextreme-vue/data-grid';
510
import type { ValueChangedEvent } from 'devextreme/ui/lookup';
611
import type { Customer, Employee } from '../types';
712
import { customers, employees } from '../data';
813
9-
const onEditorPreparing = (e: DxDataGridTypes.EditorPreparingEvent<Employee, number>): void => {
14+
const onEditorPreparing = (
15+
e: DxDataGridTypes.EditorPreparingEvent<Employee, number>
16+
): void => {
1017
if (e.parentType === 'dataRow' && e.dataField === 'CustomerID') {
1118
e.editorOptions.onValueChanged = function(ev: ValueChangedEvent): void {
1219
const selectedItem = ev.component.option('selectedItem') as Customer;

Vue/src/views/HomeView.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ import HomeContent from '../components/HomeContent.vue';
55
<template>
66
<HomeContent/>
77
</template>
8-

0 commit comments

Comments
 (0)