The problem of scope value transfer in vue

clipboard.png

I want the disabled attribute in el-button to be added dynamically based on the data in scope. What should I do?

although you can also use v-if, you need to create two el-button tags and make a judgment, so if there are more other tags in the tag, there will be a lot of code. Is there any other way

May.23,2022

</el-button>
</template>
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-1b449ff-2c71d.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-1b449ff-2c71d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?