feat: 添加登录失败处理及记录格式化功能
增加登录失败状态处理和重试机制 将记录格式化逻辑提取到工具函数 优化云数据库查询性能
This commit is contained in:
@@ -14,13 +14,16 @@
|
||||
<view class="tab {{currentTab === 'rejected' ? 'tab-active' : ''}}" bindtap="switchTab" data-tab="rejected">
|
||||
已拒绝
|
||||
</view>
|
||||
<view class="tab {{currentTab === 'cancelled' ? 'tab-active' : ''}}" bindtap="switchTab" data-tab="cancelled">
|
||||
已取消
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 记录列表 -->
|
||||
<view class="record-list" wx:if="{{!loading && filteredRecords.length > 0}}">
|
||||
<view class="record-card" wx:for="{{filteredRecords}}" wx:key="_id">
|
||||
<view class="record-header">
|
||||
<text class="record-id">{{item.id}}</text>
|
||||
<text class="record-id">{{item._id}}</text>
|
||||
<view class="status-tag status-{{item.status}}">
|
||||
{{item.statusText}}
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user