fix
This commit is contained in:
@@ -222,6 +222,9 @@ export default defineComponent({
|
|||||||
getBloodBars(){
|
getBloodBars(){
|
||||||
Https.axiosGet(Https.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((rv: any) => {
|
Https.axiosGet(Https.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((rv: any) => {
|
||||||
if (rv) {
|
if (rv) {
|
||||||
|
if(rv <= 0){
|
||||||
|
rv = 0
|
||||||
|
}
|
||||||
this.bloodBars = rv*100
|
this.bloodBars = rv*100
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ export const Https = {
|
|||||||
interfaceUrl: '',
|
interfaceUrl: '',
|
||||||
accountIsLogin:'/api/account/isLogin', //判断用户是否登录
|
accountIsLogin:'/api/account/isLogin', //判断用户是否登录
|
||||||
accountLogin:`/api/account/login`, //账号密码登录接口
|
accountLogin:`/api/account/login`, //账号密码登录接口
|
||||||
getUserLanguage:`/api/account/getUserLanguage`, //账号密码登录接口
|
getUserLanguage:`/api/account/getUserLanguage`, //获取当前用户语言
|
||||||
changeUserLanguage:`/api/account/changeUserLanguage`, //账号密码登录接口
|
changeUserLanguage:`/api/account/changeUserLanguage`, //切换用户当前语言
|
||||||
|
|
||||||
trialUserLogout:`/account/trialUserLogout`, //试用用户退出登录接口
|
trialUserLogout:`/account/trialUserLogout`, //试用用户退出登录接口
|
||||||
completeGuidancet:`/api/account/completeGuidance`, //用户指引结束
|
completeGuidancet:`/api/account/completeGuidance`, //用户指引结束
|
||||||
|
|||||||
Reference in New Issue
Block a user