I need to set a default value in the default of prop, which is set through module css, but I found that
prop cannot call
so how can I call the value in data in prop?
prop:{
btnStyle: {
type: String,
default: this.loginBtn
}
}
data() {
return {
loginBtn: this.$style.loginBtn
}