From 3ad5e6df619db267e10ec9435066f143cfd55ae0 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 22 四月 2022 16:30:06 +0800
Subject: [PATCH] login type code
---
src/views/productDetail/components/PayCard.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/productDetail/components/PayCard.vue b/src/views/productDetail/components/PayCard.vue
index 62b90e0..182540f 100644
--- a/src/views/productDetail/components/PayCard.vue
+++ b/src/views/productDetail/components/PayCard.vue
@@ -300,7 +300,9 @@
<div class="btns">
<div class="button addCar">鍔犲叆璐墿杞�</div>
- <div class="button pay" @click="confirmNow">绔嬪嵆璐拱</div>
+ <div class="button pay" @click="confirmNow">
+ {{ data.priceBase ? "绔嬪嵆璐拱" : "鍏嶈垂璇曠敤" }}
+ </div>
</div>
</div>
@@ -533,6 +535,7 @@
payMethod: 0,
products,
status: 0,
+ userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
}).then((res) => {
if (res.success) {
this.orderId = res.data.orderId;
--
Gitblit v1.8.0