Error in nextTick: "TypeError: Right-hand side of 'instanceof' is not an object"
发生这种情况,直接去查看 props 对象是否 类型正确
props 有 大概两种 写法吧, 一种就是对象形 ,一种是数组形
// 对象形
props: { show: { type: Boolean, default : () => false }, screenWidth: { type: String, default : () => "" } },
// 数组形 数组形不规定参数类型
props :['show','screenWidth']