vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance

[Vue warn]: Property or method “tableData” 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

最近我用的vue项目启用了严格模式,下面记录下严格模式下自己代码的不规范导致的报的警告
vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance
这个是在view用到的字段但是在data里面没有事先去声明这个字段导致的报警告,

[Vue warn]: Missing required prop: “value”

found in

vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance
意思是说数据没有绑定,页面缺少value值。应该v-model进行数据绑定。
应该要这样
vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance

[Vue warn]: Invalid prop: type check failed for prop “disabled”. Expected Boolean, got Number with value 1.

vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance
这个就是类型不匹配,虽然判断用的v-if=“0” 和1 也能,但在严格模式下就会报警告的,
vue项目,严格模式下报警告[Vue warn]: Property or method "tableData" is not defined on the instance
可以加!!双冒号转换成布尔值,切记前端规范,声明对应的类型就要匹配对应的类型,不要随意
目前就暂时发现这几个,后续再发现再更新下