1. 问题所示
运行Vue的时候,在前端控制台报这个错误
[Vue warn]: Property or method "checkTypesCount" 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. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
---> <Root>
[Vue warn]: Property or method "WireTypesCount" 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. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
---> <Root>
截图如下: