diff --git a/src/components/GuipRadio.vue b/src/components/GuipRadio.vue index e5b286c..018e88b 100644 --- a/src/components/GuipRadio.vue +++ b/src/components/GuipRadio.vue @@ -1,13 +1,10 @@ +
+ + + + + + + +
+
- +
- - 单选框2(数组格式 + 自定义取值): +
@@ -537,6 +552,7 @@ import HoverButton from '@/components/HoverButton.vue' import GuipFormItem from '@/components/GuipFormItem.vue' import SvgIcon from '@/components/SvgIcon.vue'; import PromptText from "@/components/PromptText.vue"; +import DevicePreview from "@/components/PreviewTab.vue"; export default { @@ -555,6 +571,7 @@ export default { HoverButton, SvgIcon, GuipFormItem, + DevicePreview, CustomDropdown }, data() { @@ -635,12 +652,16 @@ export default { input2: '', input3: '', }, - languageOptions: [ + languageOptions1: [ { label: 'JavaScript', value: 'js', selectedLabel: 'JavaScripthhhhhhhhhh',id:'1',name:'麻辣烫' }, { label: 'Python', value: 'py', selectedLabel: 'JavaScripthhhhhhhhhh',id:'10',name:'易烊千玺' }, { label: 'Java', value: 'java', disabled: true, selectedLabel: 'JavaScripthhhhhhhhhh',id:'11',name:'王鹤di' }, // 禁用选项 { label: 'Go', value: 'go', selectedLabel: 'JavaScripthhhhhhhhhh',id:'12',name:'王俊凯' }, ], + languageOptions:{ + '20':'查重站', + '31':'AI站' + }, rules: { username: [ { required: true, message: '请输入用户名', trigger: 'blur' }