fix category checkbox
This commit is contained in:
parent
d07bbbf631
commit
4fca1f262f
@ -173,7 +173,12 @@
|
||||
<div class="form-control">
|
||||
<label class="cursor-pointer label">
|
||||
<span class="label-text">{{ $t('player.ad') }}</span>
|
||||
<input type="checkbox" class="checkbox checkbox-sm" @click="isAd" />
|
||||
<input
|
||||
type="checkbox"
|
||||
class="checkbox checkbox-sm"
|
||||
:checked="newSource.category === 'advertisement'"
|
||||
@click="isAd"
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -352,6 +357,8 @@ function editPlaylistItem(i: number) {
|
||||
editId.value = i
|
||||
showSourceModal.value = true
|
||||
|
||||
console.log('ad', playlistStore.playlist[i].category)
|
||||
|
||||
newSource.value = {
|
||||
begin: playlistStore.playlist[i].begin,
|
||||
title: playlistStore.playlist[i].title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user