提交 b9f8f924 编写于 作者: 张磊

修改提示显示不全的问题

上级 cb3411c9
......@@ -13,23 +13,24 @@
export default {
data() {
return {
}
},
methods: {
saveImage() {
uni.saveImageToPhotosAlbum({
filePath:"/static/uni.png",
filePath: "/static/uni.png",
success() {
uni.showToast({
icon:"none",
title:"图片保存成功,请到相册查看"
position: "center",
icon: "none",
title: "图片保存成功,请到相册查看"
})
},
fail(e) {
uni.showToast({
icon:"none",
title:"图片保存失败,"+JSON.stringify(e)
position: "center",
icon: "none",
title: "图片保存失败,code:" + e.errCode + ",message:" + e.errMsg
})
}
})
......@@ -39,5 +40,4 @@
</script>
<style>
</style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册