From d5eb1ecff5d0236359c744b334cf30fcfdad1132 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期四, 22 八月 2024 17:17:34 +0800
Subject: [PATCH] -
---
src/pages/wallet/index.vue | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/pages/wallet/index.vue b/src/pages/wallet/index.vue
index e6d4e78..770b8f7 100644
--- a/src/pages/wallet/index.vue
+++ b/src/pages/wallet/index.vue
@@ -5,12 +5,12 @@
<view class="header chuany-flex chuany-justify-between chuany-align-center">
<view class="left">
<view class="c-p-b-16">
- 鏀跺叆浣欓锛堝厓锛�
+ {{identity=='enterprise'?"浼佷笟浣欓锛堝厓锛�":'鏀跺叆浣欓锛堝厓锛�'}}
</view>
<text class="chuany-font50 fs-weight__500">12.88</text>
</view>
<view class="right">
- <up-button type="warning" size="small" shape="circle" text="鎻愮幇"></up-button>
+ <up-button type="warning" size="small" shape="circle" :text="identity=='enterprise'?'鍏呭��':'鎻愮幇'"></up-button>
</view>
</view>
</view>
@@ -40,12 +40,7 @@
export default {
onLoad() {
let that = this
- uni.getStorage({
- key: 'identity',
- success: function(res) {
- that.identity = res.data
- }
- });
+ that.identity = this.$db.get('identity')
},
data() {
return {
--
Gitblit v1.9.1