mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-02 18:36:40 +00:00
chore(ApiRadioGroup): 移除多余的change事件
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Description:It is troublesome to implement radio button group in the form. So it is extracted independently as a separate component
|
||||
-->
|
||||
<template>
|
||||
<Radio.Group v-bind="attrs" v-model:value="state" button-style="solid" @change="handleChange">
|
||||
<Radio.Group v-bind="attrs" v-model:value="state" button-style="solid">
|
||||
<template v-for="item in getOptions" :key="`${item.value}`">
|
||||
<Radio.Button
|
||||
v-if="props.isBtn"
|
||||
@@ -119,9 +119,4 @@
|
||||
function handleClick(...args) {
|
||||
emitData.value = args;
|
||||
}
|
||||
|
||||
function handleChange(e) {
|
||||
emit('change', e.target.value);
|
||||
emit('update:value', e.target.value);
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user