修改bug
This commit is contained in:
@@ -240,14 +240,14 @@
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '获取失败',
|
||||
icon: 'error'
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
} catch (err) {
|
||||
const msg = err?.msg || (typeof err === 'string' ? err : '获取失败')
|
||||
uni.showToast({
|
||||
title: msg,
|
||||
icon: 'error'
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user