fix: types
This commit is contained in:
@@ -34,7 +34,7 @@ const props = defineProps({
|
||||
default: () => ({}),
|
||||
},
|
||||
messageType: {
|
||||
type: String,
|
||||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -32,7 +32,7 @@ const props = defineProps({
|
||||
default: () => ({}),
|
||||
},
|
||||
messageType: {
|
||||
type: String,
|
||||
type: Number,
|
||||
default: '',
|
||||
validator: value => Object.values(MESSAGE_TYPES).includes(value),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user