当前位置:网站首页>Single box check box
Single box check box
2022-07-05 02:44:00 【13 less】
One . Use of check boxes
<template>
<div>
{
{checkList}}
<el-checkbox-group v-model="checkList">
<el-checkbox label=" Check box A"></el-checkbox>
<el-checkbox label=" Check box B"></el-checkbox>
<el-checkbox label=" Check box C"></el-checkbox>
</el-checkbox-group>
</div>
</template>
<script>
export default {
data () {
return {
checkList: []
};
}
};
</script>analysis :
v-model Binding is an array , The selected items will be in this array .

Two . Use of radio boxes
<template>
<el-radio-group v-model="radio">
<el-radio :label="3"> Options </el-radio>
<el-radio :label="6"> Options </el-radio>
<el-radio :label="9"> Options </el-radio>
</el-radio-group>
</template>
<script>
export default {
data () {
return {
radio: 6
};
}
}
</script>adopt v-model Association , Bind a value in both directions .
Value and label Make a correspondence , Display as many values as you select .
边栏推荐
- openresty ngx_ Lua variable operation
- Asynchronous and promise
- Pytorch register_ Hook (operate on gradient grad)
- Returns the lowest common ancestor of two nodes in a binary tree
- Design and practice of kubernetes cluster and application monitoring scheme
- Application and Optimization Practice of redis in vivo push platform
- Openresty ngx Lua Execution stage
- Character painting, I use characters to draw a Bing Dwen Dwen
- Which common ports should the server open
- 2.常见的请求方法
猜你喜欢

Icu4c 70 source code download and compilation (win10, vs2022)

Apache build web host
![[uc/os-iii] chapter 1.2.3.4 understanding RTOS](/img/33/1d94583a834060cc31cab36db09d6e.jpg)
[uc/os-iii] chapter 1.2.3.4 understanding RTOS

Marubeni Baidu applet detailed configuration tutorial, approved.

LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6

Missile interception -- UPC winter vacation training match

Elk log analysis system

Azkaban概述
![[technology development-26]: data security of new information and communication networks](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[technology development-26]: data security of new information and communication networks

Zabbix
随机推荐
Azkaban实战
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
[Yu Yue education] National Open University autumn 2018 8109-22t (1) monetary and banking reference questions
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
[200 opencv routines] 99 Modified alpha mean filter
The database and recharge are gone
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
Uniapp navigateto jump failure
Azkaban概述
CAM Pytorch
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Good documentation
Eight days of learning C language - while loop (embedded) (single chip microcomputer)
openresty ngx_lua執行階段
Avoid material "minefields"! Play with super high conversion rate
Elfk deployment
d3js小记
openresty ngx_ Lua execution phase