赞
踩
Property or method "id" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
报错解释:
在data
中定义变量 id
以声明变量,即可解除报错。
代码如下:
data: {
id: '',
}
以上就是关于“ Property or method “id” is not defined on the instance but referenced during render.Make sure … ” 的全部内容。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。