Event handling when the vue parent component references multiple identical child components

as shown in the figure, the following button subcomponents are referenced on the page, the first is online and selected, the second is online unselected, and the third is offline. Whether the button is returned in the online background, only the online status can be clicked and selected, and other online status buttons become unchecked after being selected. Button in offline state is read-only (does not trigger click event)

clipboard.png


isClick true isClickfalse.
:isClicktruefalse

clipboard.png


parent component isclick,

<div v-for="(item,index) in channelBtns" :key="index">
    <channel-btn :channel-name="item.name" :is-online="item.isonline" :isClick="item.isClick" 
    class="channelBtn" @change="clickBtn"></channel-btn>
</div>```
isclickprops

props: {

    channelName:String,
    isOnline:Boolean,
    isClick: Boolean,
},
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ec8174-2ea4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ec8174-2ea4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?