Open any86 opened 2 years ago
props:{ yyy:{ type:String, } }, computed: { xxx() { return this.yyy }, },
给xxx计算属性标记返回值类型.
computed: { xxx():string { return this.yyy }, },
解决办法
给xxx计算属性标记返回值类型.