Property or method "Name" is not defined on the instance but referenced during render.

"通知类型">
          "Name" placeholder="--请选择--" >
            for="item in Type" :value="item.Name" :key="item.Name">
          </el-select>

报错如标题
[Vue warn]: Property or method “Name” 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.
查看官方网址:
由于Vue不允许动态添加根级别的响应属性,因此必须通过预先声明所有根级别的响应数据属性来初始化Vue实例,即使是空值
发现自己直接

Type:
            [
              {Name:'MSM'},

            ]

应该写为:

Name:[],
Type:
            [
              {Name:'MSM'},

            ]

你可能感兴趣的:(vue)