How to call button state according to table parameter state by vue element

I want to disable the state of my row of action buttons when prop:enabledStatus is enabled; when
prop:enabledStatus is disabled, my row of action buttons become enabled; according to judgment, only one status button appears. How to do it, ask the great god for advice

clipboard.png

clipboard.png

clipboard.png


<Button type="primary"  v-if="item.enabledStatus == 0"></Button>
<Button type="danger"  v-else></Button>

<Button type="primary"  v-if="scope.row.enabledStatus == 0"></Button>
<Button type="danger"  v-else></Button>
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-1e47588-43704.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-1e47588-43704.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?