我引入后,看图那个 uni-popup ,就提示报错: Cannot read property 'open' of undefined;
新增了钩子函数,才运行了起来
mounted() {
this.$nextTick(() => {
this.$refs.popup.open('center');
});
},
7***@qq.com
- 发布:2024-04-29 17:58
- 更新:2024-04-29 17:58
- 阅读:37
0 个回复