|
@@ -144,7 +144,7 @@
|
|
|
</view>
|
|
|
<view class="menu-item-box" @click="onSheZhi()">
|
|
|
<view class="icon-box">
|
|
|
- <view class="iconfont icon-yinsishezhi"></view>
|
|
|
+ <view class="iconfont icon-shezhi"></view>
|
|
|
</view>
|
|
|
<view class="content-box">
|
|
|
设置
|
|
@@ -155,7 +155,7 @@
|
|
|
</view>
|
|
|
<view class="menu-item-box" @click="onLogout()">
|
|
|
<view class="icon-box">
|
|
|
- <view class="iconfont icon-shezhi"></view>
|
|
|
+ <view class="iconfont icon-tuichu"></view>
|
|
|
</view>
|
|
|
<view class="content-box">
|
|
|
退出/切换账号
|
|
@@ -249,7 +249,7 @@
|
|
|
}
|
|
|
function onIconSubmit() {
|
|
|
updateIcon({userIcon: currentIcon.value.name}).then(res => {
|
|
|
- if (res && res.message === 'success') {
|
|
|
+ if (res && res.code === 0) {
|
|
|
msgSuccess('修改成功')
|
|
|
authStore.setUserIcon(currentIcon.value.url)
|
|
|
iconVisible.value = false
|
|
@@ -453,22 +453,22 @@
|
|
|
onShow(() => {
|
|
|
user.value = authStore.userInfo
|
|
|
getCreditCard().then(res => {
|
|
|
- if (res && res.message === 'success') {
|
|
|
+ if (res && res.code === 0) {
|
|
|
creditCard.value = res.data
|
|
|
authStore.setCreditCard(res.data)
|
|
|
|
|
|
getZhongjie().then(res => {
|
|
|
- if (res && res.message === 'success') {
|
|
|
+ if (res && res.code === 0) {
|
|
|
zhongjie.value = res.data ?? {zsbh: null}
|
|
|
}
|
|
|
})
|
|
|
getAnjie().then(res => {
|
|
|
- if (res && res.message === 'success') {
|
|
|
+ if (res && res.code === 0) {
|
|
|
anjie.value = res.data ?? {zsbh: null}
|
|
|
}
|
|
|
})
|
|
|
getIconList().then(res => {
|
|
|
- if (res && res.message === 'success') {
|
|
|
+ if (res && res.code === 0) {
|
|
|
iconList.value = res.data
|
|
|
}
|
|
|
})
|