网页端设置电报机器人开关

This commit is contained in:
vaxilu
2022-04-19 12:12:37 +08:00
parent 04ce724801
commit dfc6b56327
6 changed files with 23 additions and 15 deletions

View File

@@ -14,6 +14,9 @@
<template v-else-if="type === 'textarea'">
<a-textarea :value="value" @input="$emit('input', $event.target.value)" :auto-size="{ minRows: 10, maxRows: 10 }"></a-textarea>
</template>
<template v-else-if="type === 'switch'">
<a-switch :checked="value" @change="value => $emit('input', value)"></a-switch>
</template>
</a-col>
</a-row>
</a-list-item>