美文网首页
vue的奇葩错误提示 Right-hand side of ‘i

vue的奇葩错误提示 Right-hand side of ‘i

作者: TOPro | 来源:发表于2019-12-20 16:20 被阅读0次

    vue这种什么的乱七八糟的错误什么的,抛出来毫无头绪啊

    Right-hand side of ‘instanceof’ is not an object

    这里我收集一些触发这种错误的条件

    • props 的type写成字符串或者其他非 class类型的数据

      举例

      {
          props:{
      
              //注意这里的双引号
              type:"String",
          }
      }
      

    相关文章

      网友评论

          本文标题:vue的奇葩错误提示 Right-hand side of ‘i

          本文链接:https://www.haomeiwen.com/subject/ktsinctx.html