diff options
author | pacien | 2020-05-08 19:04:29 +0200 |
---|---|---|
committer | pacien | 2020-05-08 19:04:29 +0200 |
commit | 3cf40298471995fddea8a66860353a2b1ceeeeee (patch) | |
tree | f74e1564f5d79931147f54656c9e3d977871f45f /viewer/src | |
parent | c175db32132201cefec699b69f71fb23bdd2c687 (diff) | |
download | ldgallery-3cf40298471995fddea8a66860353a2b1ceeeeee.tar.gz |
viewer/LdError: fix prop constructor type
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/components/LdError.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/components/LdError.vue b/viewer/src/components/LdError.vue index 5e266ab..4b958dc 100644 --- a/viewer/src/components/LdError.vue +++ b/viewer/src/components/LdError.vue | |||
@@ -31,8 +31,8 @@ | |||
31 | import { Component, Prop, Vue } from "vue-property-decorator"; | 31 | import { Component, Prop, Vue } from "vue-property-decorator"; |
32 | 32 | ||
33 | @Component export default class LdError extends Vue { | 33 | @Component export default class LdError extends Vue { |
34 | @Prop({ required: true }) readonly icon!: string; | 34 | @Prop({ required: true, type: String }) readonly icon!: string; |
35 | @Prop({ required: true }) readonly message!: string; | 35 | @Prop({ required: true, type: String }) readonly message!: string; |
36 | } | 36 | } |
37 | </script> | 37 | </script> |
38 | 38 | ||