storage存储
storage
setStorageSync(key,value) value需要是json字符串
getStorage(key)
removeStorageSync(key)
uni.showModal的使用
uni.showModal({
title: ‘’, //提示的标题
content: ‘’ //提示的内容
})
https://uniapp.dcloud.io/api/ui/prompt?id=showmodal
uni.showToast的使用
uni.showToast({
icon:none,
title: ‘’, //提示的标题
})
https://uniapp.dcloud.io/api/ui/prompt?id=showtoast