提交 1e43c81a 编写于 作者: D DCloud_LXH

chore: components boolean-data、enum-data、input-data 添加 emits 属性

上级 fccd5d19
<script lang="uts"> <script lang="uts">
export default { export default {
emits: ['change'],
props: { props: {
title: { title: {
type: String, type: String,
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
export type ItemType = { value : number; name : string } export type ItemType = { value : number; name : string }
export default { export default {
emits: ['change'],
props: { props: {
title: { title: {
type: String, type: String,
......
<script lang="uts"> <script lang="uts">
export default { export default {
name: "input-data", name: "input-data",
emits: ['confirm'],
props: { props: {
title: { title: {
type: String, type: String,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册