diff --git a/src/views/tool/Instead/components/carts/list.vue b/src/views/tool/Instead/components/carts/list.vue index c33c96d..a200e6c 100644 --- a/src/views/tool/Instead/components/carts/list.vue +++ b/src/views/tool/Instead/components/carts/list.vue @@ -128,7 +128,7 @@ 仅下单 diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index 81bcca6..744e11b 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -398,10 +398,7 @@ async function createOrder(key) { if (res) { carts.clear(); carts.dataReset(); - if (key == "only-create") { - refresh(); - return; - } + if (res.userId) { const userRes = await shopUserApi.get({ userId: res.userId }); user.value = userRes; @@ -416,7 +413,9 @@ async function createOrder(key) { orderInfo.value = res1; carts.setOldOrder(res1); } - + if (key == "only-create") { + return; + } showOrder.value = true; if (key == "wx-aiplay") { nextTick(() => { @@ -815,7 +814,7 @@ $pl: 30px; height: 100%; max-height: calc(100vh - 256px); .left { - width: 330px; + width: 350px; padding-right: 14px; box-sizing: border-box; display: flex;