Bläddra i källkod

删除注释代码

lifanagju_citu 5 månader sedan
förälder
incheckning
394cb70356
1 ändrade filer med 1 tillägg och 9 borttagningar
  1. 1 9
      src/views/mall/components/details.vue

+ 1 - 9
src/views/mall/components/details.vue

@@ -68,6 +68,7 @@
   </div>
   <!-- 快速登录 -->
   <loginPage v-if="showLogin" @loginSuccess="loginSuccess" @close="loginClose"></loginPage>
+  <!-- 结算 -->
   <CtDialog :visible="showPay" titleClass="text-h6" :widthType="3" title="订单信息" @submit="handleSubmit" @close="handleClose">
     <confirm ref="confirmRef" :data="skuInfo" @paySuccess="showPay = false"></confirm>
   </CtDialog>
@@ -107,15 +108,6 @@ const getData = async () => {
   state.skeletonLoading = false;
   state.goodsInfo = obj
   showSelectSku.value = true
-  // // 加载是否收藏
-  // if (isLogin.value) {
-  //   FavoriteApi.isFavoriteExists(state.goodsId, 'goods').then((res) => {
-  //     if (res.code !== 0) {
-  //       return;
-  //     }
-  //     state.goodsInfo.favorite = res.data;
-  //   });
-  // }
 }
 getData()