Skip to content

Commit

Permalink
Fixed Vue related Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dxArtemiusz committed Jun 13, 2024
1 parent a073bfa commit 0c4e2ee
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion apps/demos/Demos/Accordion/Overview/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
:animation-duration="animationDuration"
v-model:selected-items="selectedItems"
id="accordion-container"
item-title-template="itemTitle"
>
<template #title="{ data }">
<template #itemTitle="{ data }">
<CustomTitle :item-data="data"/>
</template>
<template #item="{ data }">
Expand Down
4 changes: 2 additions & 2 deletions apps/demos/Demos/Common/NavigationOverview/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
v-model:selected-index="tabPanelIndex"
:data-source="citiesData"
:animation-enabled="true"
item-title-template="title"
item-title-template="itemTitle"
item-template="cityTemplate"
>
<template #title="{ data: item }">
<template #itemTitle="{ data: item }">
<span class="tab-panel-title">{{ item.text }}</span>
</template>
<template #cityTemplate="{ data: city }">
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/Gantt/TaskTemplate/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:task-list-width="500"
:height="700"
scale-type="days"
:task-content-template="taskContentTemplate"
task-content-template="taskContentTemplate"
>

<DxTasks :data-source="tasks"/>
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/Gantt/Toolbar/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<DxPopup
v-model:visible="popupVisible"
title="About"
:height="auto"
height="auto"
:show-title="true"
:hide-on-outside-click="true"
>
Expand Down
4 changes: 2 additions & 2 deletions apps/demos/Demos/TabPanel/SortableClosableTabs/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
:show-nav-buttons="true"
:repaint-changes-only="true"
v-model:selected-index="selectedIndex"
item-title-template="title"
item-title-template="itemTitle"
item-template="itemTemplate"
>
<template #title="{ data: employee }">
<template #itemTitle="{ data: employee }">
<div>
<span>{{ employee.FirstName }} {{ employee.LastName }}</span><i
v-show="showCloseButton()"
Expand Down
3 changes: 2 additions & 1 deletion apps/demos/Demos/TabPanel/Templates/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
:loop="loop"
:animation-enabled="animationEnabled"
:swipe-enabled="swipeEnabled"
item-title-template="itemTitle"
>
<template #title="{ data: company }">
<template #itemTitle="{ data: company }">
<span>{{ company.CompanyName }}</span>
</template>
<template #item="{ data: company }">
Expand Down
3 changes: 2 additions & 1 deletion apps/demos/Demos/VectorMap/ImageMarkers/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<DxFont :size="14"/>
</DxLabel>
</DxLayer>
<dx-loading-indicator :show="true"/>
<DxLoadingIndicator :show="true"/>
</DxVectorMap>
</template>
<script setup lang="ts">
Expand All @@ -31,6 +31,7 @@ import {
DxLabel,
DxLayer,
DxFont,
DxLoadingIndicator
} from 'devextreme-vue/vector-map';
import { weatherData } from './data.ts';
Expand Down

0 comments on commit 0c4e2ee

Please sign in to comment.