3. RadioGroup支持横向分布与竖直分布,通过layout改变使用<template> </template> import { SRadioGroup } from "@/components" // ... const statusOptions = [ { label: "启用", value: 1 }, { label: "禁用", value: 0 } ] const updateForm = (params: BaseForm) => { state[params.name...
TnCheckboxGroup和TnRadioGroup新增wrap参数设置对应的选项内容是否独占一行 0.0.1-beta88 2023-06-26 新增 TnFormItem新增label-position属性可以针对单个表单项设置对应的label的位置 0.0.1-beta89 2023-06-26 Fixed 修复TnSlider滑动条有初始值的情况下对应位置没有初始化的问题 0.0.1-beta90 2023-06-26 Fixed...
importtype *asAfrom'@arco-design/web-vue'exporttype FormType = |'input'|'select'|'radio-group'|'checkbox-group'|'textarea'|'date-picker'|'time-picker'|'input-number'|'rate'|'switch'|'slider'|
export const radioGroupProps = buildProps({ ...radioPropsBase, ...radioBaseProps, /** * @description radio单选组绑定的值 */ Expand Down 31 changes: 3 additions & 28 deletions 31 components/radio/src/radio.ts Show comments View file Edit file Delete file This file contains bidirectional...
RadioGroup Props属性名说明类型默认 v-model 绑定值 string/number/boolean - size 单选框尺寸 'default'/'small'/'large' default disabled 是否禁用 boolean falseRadioGroup Events事件名说明类型 change 绑定值变化时触发的事件 Function(value: string/number/boolean) => void...
Gi Admin Pro 是一个基于 Vue3、Vite、TypeScript、Arco Design UI、Pinia、VueUse 的免费中后台模版,它使用了最新的前端技术栈,内置丰富的主题配置,有着极高的代码规范,基于mock实现的动态数据展示,开箱即用的模板,也可用于学习参考。展开收起 暂无标签 ...
import { ElForm, ElFormItem, ElPopover, ElRadioGroup, ElRadioButton } from 'element-plus' import { useVisualData } from '@/visual-editor/hooks/useVisualData' import { FormatInputNumber } from '@/visual-editor/components/common/format-input-number' import { PropConfig } from './components...
TnCheckboxGroup和TnRadioGroup新增wrap参数设置对应的选项内容是否独占一行 0.0.1-beta88 2023-06-26 新增 TnFormItem新增label-position属性可以针对单个表单项设置对应的label的位置 0.0.1-beta89 2023-06-26 Fixed 修复TnSlider滑动条有初始值的情况下对应位置没有初始化的问题 0.0.1-beta90 2023-06-26 Fixed...
: // 选项数据 select、radio-group、checkbox-group、cascader 组件独有的options,格式一般是{label: string, value: string}[] | A.SelectInstance['$props']['options'] | A.RadioGroupInstance['$props']['options'] | A.CheckboxGroupInstance['$props']['options'] | A.CascaderInstance['$props']...
import { ElForm, ElFormItem, ElPopover, ElRadioGroup, ElRadioButton } from 'element-plus' import { useVisualData } from '@/visual-editor/hooks/useVisualData' import { FormatInputNumber } from '@/visual-editor/components/common/format-input-number' import { PropConfig } from './components...