if (data.code == '0') {
uni.showToast({
title: '收藏成功',
duration: 3000
});
} else {
uni.showModal({
title: '提示',
content: data.errMsg
});
}

是lucky呀
- 发布:2020-05-26 14:16
- 更新:2020-05-26 14:16
- 阅读:1467
请问一下,为啥uni.showToast这样写, 在小程序中真机时提示框会一闪而过??h5是可以正常展示的
分类:uni-app
0 个回复