fix vue warnings
This commit is contained in:
parent
392eeed286
commit
5cde1348d9
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Content :class="{'icon-loading': loading}" app-name="Radio">
|
<Content app-name="Radio">
|
||||||
<AppNavigation>
|
<AppNavigation>
|
||||||
<template id="app-radio-navigation" #list>
|
<template id="app-radio-navigation" #list>
|
||||||
<AppNavigationItem icon="icon-category-dashboard" title="Top" />
|
<AppNavigationItem icon="icon-category-dashboard" title="Top" />
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody v-if="stationData">
|
<tbody v-if="stationData">
|
||||||
<tr v-for="station in stationData" :key="station">
|
<tr v-for="(station, idx) in stationData" :key="idx">
|
||||||
<td>
|
<td>
|
||||||
<div class="stationIcon"
|
<div class="stationIcon"
|
||||||
:style="{ backgroundImage: `url('${ station.favicon }')` }" />
|
:style="{ backgroundImage: `url('${ station.favicon }')` }" />
|
||||||
@ -47,20 +47,8 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
stationData: {
|
stationData: {
|
||||||
type: String,
|
type: Array,
|
||||||
default: '',
|
default() { return [] },
|
||||||
},
|
|
||||||
stationIsfav: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false,
|
|
||||||
},
|
|
||||||
stationUuid: {
|
|
||||||
type: String,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
stationImg: {
|
|
||||||
type: String,
|
|
||||||
default: '',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user