mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
未登录时详情页不请求收藏接口
This commit is contained in:
@@ -474,6 +474,9 @@ const isCollection = ref(false)
|
||||
* 获取是否关注信息
|
||||
*/
|
||||
const getCollection = () => {
|
||||
if (!uni.getStorageSync('Token')) {
|
||||
return
|
||||
}
|
||||
uni.showLoading()
|
||||
http.request({
|
||||
url: '/p/user/collection/isCollection',
|
||||
|
||||
Reference in New Issue
Block a user