mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
Add prop validations in MkAcct (#7439)
This commit is contained in:
parent
dabe131234
commit
7a61d401cc
1 changed files with 10 additions and 1 deletions
|
@ -11,7 +11,16 @@ import { toUnicode } from 'punycode/';
|
|||
import { host } from '@client/config';
|
||||
|
||||
export default defineComponent({
|
||||
props: ['user', 'detail'],
|
||||
props: {
|
||||
user: {
|
||||
type: Object,
|
||||
required: true
|
||||
},
|
||||
detail: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
host: toUnicode(host),
|
||||
|
|
Loading…
Reference in a new issue