报错信息:
Property or method "title" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
代码如下
这是一个弹框子组件,modal是从父组件传过来的。在1.0是可以这么用的
尚方宝剑之说
相关分类