mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
feat:合并
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<a-drawer
|
||||
:visible="addvoteVisible"
|
||||
class="drawerStyle"
|
||||
style="color: red"
|
||||
width="80%"
|
||||
title="添加投票"
|
||||
placement="right"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<div>
|
||||
<add-vote v-model:addvoteVisible="visible" />
|
||||
</div>
|
||||
<a-radio v-model:checked="checked" @click="changeRadio">Option A</a-radio>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -36,15 +37,19 @@ export default {
|
||||
setup() {
|
||||
const state = reactive({
|
||||
visible: false,
|
||||
checked: true,
|
||||
});
|
||||
|
||||
const showDrawer = () => {
|
||||
state.visible = true;
|
||||
};
|
||||
|
||||
const changeRadio = () => {
|
||||
state.checked = false;
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
showDrawer,
|
||||
changeRadio,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user