|  |  | 
 |  |  |     </view> --> | 
 |  |  |  | 
 |  |  |     <!-- 常用工具 --> | 
 |  |  |     <view class="card-container"> | 
 |  |  |     <!-- <view class="card-container"> | 
 |  |  |       <view class="card-header"> | 
 |  |  |         <view class="card-title"> | 
 |  |  |           <wd-icon name="tools" size="18" :color="themeStore.primaryColor" /> | 
 |  |  | 
 |  |  |           <view class="tool-label">我的钱包</view> | 
 |  |  |         </view> | 
 |  |  |       </view> | 
 |  |  |     </view> | 
 |  |  |     </view> --> | 
 |  |  |  | 
 |  |  |     <!-- 推荐服务 --> | 
 |  |  |     <view class="card-container"> | 
 |  |  |     <!-- <view class="card-container"> | 
 |  |  |       <view class="card-header"> | 
 |  |  |         <view class="card-title"> | 
 |  |  |           <wd-icon name="star" size="18" :color="themeStore.primaryColor" /> | 
 |  |  | 
 |  |  |           <wd-icon name="arrow-right" size="14" color="#999" /> | 
 |  |  |         </view> | 
 |  |  |       </view> | 
 |  |  |     </view> | 
 |  |  |     </view> --> | 
 |  |  |  | 
 |  |  |     <view v-if="isLogin" class="logout-btn-container"> | 
 |  |  |     <!-- <view v-if="isLogin" class="logout-btn-container"> | 
 |  |  |       <wd-button class="logout-btn" @click="handleLogout">退出登录</wd-button> | 
 |  |  |     </view> | 
 |  |  |     </view> --> | 
 |  |  |  | 
 |  |  |     <wd-toast /> | 
 |  |  |   </view> | 
 
 |  |  | 
 |  |  |   <wd-card> | 
 |  |  |     <wd-cell-group :border="true"> | 
 |  |  |       <wd-cell title="单丝编号" :value="data.monofilamentNumber" /> | 
 |  |  |       <wd-cell title="长度" :value="data.oneLength" /> | 
 |  |  |       <wd-cell title="长度" :value="data.amount" /> | 
 |  |  |     </wd-cell-group> | 
 |  |  |   </wd-card> | 
 |  |  | </template> | 
 
 |  |  | 
 |  |  |   const { data } = await TwistApi.getScarn({ | 
 |  |  |     outPutId: codeArr[1], | 
 |  |  |   }); | 
 |  |  |   const exists = cardList.value.some((item) => item.id === data.id); | 
 |  |  |   const exists = cardList.value.some((item) => item.monofilamentNumber === data.monofilamentNumber); | 
 |  |  |   if (!exists) { | 
 |  |  |     const { id, outPutId, wireId, ...rest } = data; | 
 |  |  |     const { id, outPutId, wireId, oneLength, ...rest } = data; | 
 |  |  |     console.log("sb", { | 
 |  |  |       wireId: paramsId.value, | 
 |  |  |       outputId: id, | 
 |  |  |       amount: oneLength, | 
 |  |  |       ongLength: oneLength, | 
 |  |  |       ...rest, | 
 |  |  |     }); | 
 |  |  |     cardList.value.push({ | 
 |  |  |       wireId: paramsId.value, | 
 |  |  |       outputId: id, | 
 |  |  |       amount: oneLength, | 
 |  |  |       ongLength: oneLength, | 
 |  |  |       ...rest, | 
 |  |  |     }); | 
 |  |  |     pagingRef.value.complete(cardList.value); |