Revert "Radio improvement, needs optimisation."
This reverts commit c0c12bc2ba
.
This commit is contained in:
parent
f9f300968d
commit
baf234085e
9 changed files with 15 additions and 100 deletions
|
@ -1,23 +0,0 @@
|
|||
<script type="text/x-template" id="cider-radio">
|
||||
<div class="content-inner">
|
||||
<h1 class="header-text">{{app.getLz('term.radio')}}</h1>
|
||||
<template v-for="item in data">
|
||||
<radio-child :item="item"></radio-child>
|
||||
</template>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
Vue.component('cider-radio', {
|
||||
template: "#cider-radio",
|
||||
props: ["data"],
|
||||
data: function () {
|
||||
return {
|
||||
app: this.$root
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$root.getRadioStations()
|
||||
}
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue