700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 小程序组件报错Uncaught TypeError: Cannot read property 'name' of undefined

小程序组件报错Uncaught TypeError: Cannot read property 'name' of undefined

时间:2021-04-30 18:07:55

相关推荐

小程序组件报错Uncaught TypeError: Cannot read property 'name' of undefined

小程序组件报错Uncaught TypeError: Cannot read property 'name' of undefined

Component({/*** 组件的属性列表*/properties: {shopIcon: {type: String,value: ''},},/*** 组件的初始数据*/data: {},/*** 组件的方法列表*/methods: {}})

其中接收的参数shopIcon里面type是必填的

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。