u
This commit is contained in:
1 parent
985b42cafb
commit
5e3dccc88b
25 files changed
+931
-543
No files matched your search
@@ -1,52 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
|
||||
const checked = ref(['1'])
|
||||
|
||||
const checked1 = ref(false)
|
||||
const checked2 = ref(false)
|
||||
const checked3 = ref(false)
|
||||
|
||||
const STYLE_B_UNCHECKED_PROPS = {
|
||||
theme: 'default',
|
||||
variant: 'outline',
|
||||
}
|
||||
|
||||
const STYLE_C_CHECKED_PROPS = {
|
||||
theme: 'primary',
|
||||
variant: 'outline',
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="demo">
|
||||
<div class="row">
|
||||
<ATag show-close checkable disabled>
|
||||
测试 1
|
||||
</ATag>
|
||||
<ATagGroup v-model="checked">
|
||||
<ATag show-close value="1">
|
||||
测试 1
|
||||
</ATag>
|
||||
<ATag show-close value="2">
|
||||
测试2
|
||||
</ATag>
|
||||
</ATagGroup>
|
||||
</div>
|
||||
<div style="height: 800px;display: flex;align-items: center;justify-content: center;">
|
||||
<ARadio>
|
||||
123
|
||||
</ARadio>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.demo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user