fix(userData): 个人资料接口404问题处理
This commit is contained in:
parent
d98b9bd93c
commit
c04c817d55
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
|
@ -254,7 +253,7 @@ export default {
|
||||||
// },
|
// },
|
||||||
getInfo() {
|
getInfo() {
|
||||||
api
|
api
|
||||||
.getData()
|
.getInfo()
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.userInfo = res.data
|
this.userInfo = res.data
|
||||||
|
@ -353,7 +352,7 @@ page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
background-color: #005BAC;
|
background-color: #005bac;
|
||||||
border: none;
|
border: none;
|
||||||
height: 92rpx;
|
height: 92rpx;
|
||||||
line-height: 92rpx;
|
line-height: 92rpx;
|
||||||
|
|
Loading…
Reference in New Issue