mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-25 10:05:25 +00:00
prop
This commit is contained in:
@@ -9,11 +9,10 @@ import {Component, Prop, Vue} from "vue-property-decorator";
|
||||
|
||||
@Component
|
||||
export default class HelloWorld extends Vue {
|
||||
@Prop()
|
||||
msg = ''
|
||||
@Prop({default: ""})
|
||||
msg: string | undefined;
|
||||
|
||||
created() {
|
||||
debugger
|
||||
console.log(this.msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user