提交 cfea7098 编写于 作者: D DCloud_LXH

fix: emnu-data 移除无用类型

上级 7be190d1
<script lang="uts">
import {type PropType} from 'vue'
export type ItemType = { value : number; name : string }
export default {
......@@ -24,7 +24,7 @@
_change(e : RadioGroupChangeEvent) {
const selected = this.items.find((item: ItemType) : boolean => {
return item.name === e.detail.value
}) as ItemType | null
})
if (selected !== null) {
this.current = selected.value
this.$emit('change', this.current)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册