uniapp中uni-popup出现TypeError: this[this.config[newVal]] is not a function
uniapp中uni-popup出现TypeError: this[this.config[newVal]] is not a function。在使用uniapp自带的uni-popup弹出层的时候。默认自动补全时type选项自动填补为middle。但其实没有middle选择。所以会产生这个报错。<uni-popup type="middle"></uni-popup>将type内容改为官网文档所有的字段即可。<uni-popup type="center">
原创
2021-01-05 09:40:54 ·
1436 阅读 ·
1 评论